diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-02-03 20:11:42 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-02-03 20:11:42 +0000 |
commit | 6d5a1c28593443f3973ef38f8fa042d59182412d (patch) | |
tree | 46e6fccc3752d6a3b82faa450161cdc54adff20e /lib/CodeGen/CGExprConstant.cpp | |
parent | 22c92406f4b043bd872b53761f6a157fcc105594 (diff) |
Revert "Numerous changes to selector handling:", this breaks a whole bunch of
working code, for no apparent reason.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprConstant.cpp')
-rw-r--r-- | lib/CodeGen/CGExprConstant.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/CodeGen/CGExprConstant.cpp b/lib/CodeGen/CGExprConstant.cpp index ca775bf050..81209da6c6 100644 --- a/lib/CodeGen/CGExprConstant.cpp +++ b/lib/CodeGen/CGExprConstant.cpp @@ -701,14 +701,6 @@ public: CGM.GetStringForStringLiteral(E), false); } - llvm::Constant *VisitObjCSelectorExpr(const ObjCSelectorExpr *E) { - ObjCMethodDecl *OMD = E->getMethodDecl(); - if (OMD) - return CGM.getObjCRuntime().GetConstantTypedSelector(OMD); - else - return CGM.getObjCRuntime().GetConstantSelector(E->getSelector()); - } - llvm::Constant *VisitObjCEncodeExpr(ObjCEncodeExpr *E) { // This must be an @encode initializing an array in a static initializer. // Don't emit it as the address of the string, emit the string data itself |