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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172953 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2013-01-20 02:54:05 +00:00
parent 4156ca76e3
commit 1ca114a66b
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();