a trivial micro optimization to save a load.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62676 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/Lexer.cpp b/lib/Lex/Lexer.cpp
index f7937d5..fca8fd4 100644
--- a/lib/Lex/Lexer.cpp
+++ b/lib/Lex/Lexer.cpp
@@ -556,11 +556,11 @@
// 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;
}