diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-20 05:35:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-20 05:35:30 +0000 |
commit | 8469265156c6344fa1100a6a7bf6349acc187d9f (patch) | |
tree | 94ed7339db2354d3131d3423358a5bd22825c779 /lib/Sema/Sema.cpp | |
parent | 92e62b02226410bcad8584541b8f1ff4d35ebab9 (diff) |
instead of looking up super at startup time,
just check for it when needed. It doesn't incur real cost
in any hot paths.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.cpp')
-rw-r--r-- | lib/Sema/Sema.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/Sema.cpp b/lib/Sema/Sema.cpp index 1a9e1a062c..dcb3af31b0 100644 --- a/lib/Sema/Sema.cpp +++ b/lib/Sema/Sema.cpp @@ -103,8 +103,6 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, ASTConsumer &consumer) KnownFunctionIDs[id_vsnprintf_chk] = &IT.get("__builtin___vsnprintf_chk"); KnownFunctionIDs[id_vprintf] = &IT.get("vprintf"); - SuperID = &IT.get("super"); - // ObjC builtin typedef names. Ident_id = &IT.get("id"); Ident_Class = &IT.get("Class"); |