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 | 45858d2d59718f95fc3ba8dc7aac63d217dc3abd (patch) | |
tree | 4ef415ed071bc502549930c3383e1e25ae6d941d /clang/lib/CodeGen/CGExprConstant.cpp | |
parent | d231689adb9966454451aebc18d99473cc9519f2 (diff) | |
download | bcm5719-llvm-45858d2d59718f95fc3ba8dc7aac63d217dc3abd.tar.gz bcm5719-llvm-45858d2d59718f95fc3ba8dc7aac63d217dc3abd.zip |
Revert "Numerous changes to selector handling:", this breaks a whole bunch of
working code, for no apparent reason.
llvm-svn: 95244
Diffstat (limited to 'clang/lib/CodeGen/CGExprConstant.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGExprConstant.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp index ca775bf0509..81209da6c6f 100644 --- a/clang/lib/CodeGen/CGExprConstant.cpp +++ b/clang/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 |