Skip to content
Snippets Groups Projects
Commit 22549fe6 authored by Chris Lattner's avatar Chris Lattner
Browse files

With recent simplifications, this check can be removed from a fastpath.

llvm-svn: 38745
parent 0f1f5051
No related branches found
No related tags found
No related merge requests found
...@@ -265,8 +265,6 @@ public: ...@@ -265,8 +265,6 @@ public:
/// std::string). /// std::string).
IdentifierInfo *getIdentifierInfo(const char *NameStart, IdentifierInfo *getIdentifierInfo(const char *NameStart,
const char *NameEnd) { const char *NameEnd) {
// If we are in a "#if 0" block, don't bother lookup up identifiers.
if (isSkipping()) return 0;
return &Identifiers.get(NameStart, NameEnd); return &Identifiers.get(NameStart, NameEnd);
} }
IdentifierInfo *getIdentifierInfo(const char *NameStr) { IdentifierInfo *getIdentifierInfo(const char *NameStr) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment