trivial micro-optimization: lazily call the virtual method instead of eagerly calling it.

llvm-svn: 172953
This commit is contained in:
Chris Lattner
2013-01-20 02:54:05 +00:00
parent 0271af8dc9
commit 8d14053545
2 changed files with 2 additions and 3 deletions

View File

@@ -796,7 +796,7 @@ bool BitcodeReader::ParseMetadata() {
default: // Default behavior: ignore.
break;
case bitc::METADATA_NAME: {
// Read named of the named metadata.
// Read name of the named metadata.
SmallString<8> Name(Record.begin(), Record.end());
Record.clear();
Code = Stream.ReadCode();