a trivial micro optimization to save a load.

llvm-svn: 62676
This commit is contained in:
Chris Lattner 2009-01-21 07:45:14 +00:00
parent ad89ec013f
commit 8256b970a3
1 changed files with 2 additions and 2 deletions

View File

@ -556,11 +556,11 @@ FinishIdentifier:
// Fill in Result.IdentifierInfo, looking up the identifier in the
// identifier table.
PP->LookUpIdentifierInfo(Result, IdStart);
IdentifierInfo *II = PP->LookUpIdentifierInfo(Result, IdStart);
// Finally, now that we know we have an identifier, pass this off to the
// preprocessor, which may macro expand it or something.
if (Result.getIdentifierInfo()->isHandleIdentifierCase())
if (II->isHandleIdentifierCase())
PP->HandleIdentifier(Result);
return;
}