diff options
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 |
