From d5f33a86f0ee245a04718e774c990fb242ecd091 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 1 Mar 2012 02:03:47 +0000 Subject: Updated LLVM to take a new MC JIT that supports allocations by section. We install these sections in the target process and inform the JIT of their new locations. Also removed some unused variable warnings. llvm-svn: 151789 --- lldb/source/Expression/ClangUserExpression.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'lldb/source/Expression/ClangUserExpression.cpp') diff --git a/lldb/source/Expression/ClangUserExpression.cpp b/lldb/source/Expression/ClangUserExpression.cpp index 7a2541d9173..664854f1fac 100644 --- a/lldb/source/Expression/ClangUserExpression.cpp +++ b/lldb/source/Expression/ClangUserExpression.cpp @@ -156,17 +156,6 @@ ClangUserExpression::ScanContext(ExecutionContext &exe_ctx, Error &err) m_cplusplus = true; m_needs_object_ptr = true; - - do { - clang::QualType this_type = method_decl->getThisType(decl_context->getParentASTContext()); - - const clang::PointerType *this_pointer_type = this_type->getAs(); - - if (!this_pointer_type) - break; - - clang::QualType this_pointee_type = this_pointer_type->getPointeeType(); - } while (0); } } else if (clang::ObjCMethodDecl *method_decl = llvm::dyn_cast(decl_context)) -- cgit v1.2.3