diff options
author | Sean Callanan <scallanan@apple.com> | 2012-03-01 02:03:47 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-03-01 02:03:47 +0000 |
commit | d5f33a86f0ee245a04718e774c990fb242ecd091 (patch) | |
tree | 045744926753531928369bd694fa2d500fa80b46 /lldb/source/Expression/ClangUserExpression.cpp | |
parent | 1ee768db53dfbaab76f56c11fdc73d3e2e8c3996 (diff) | |
download | bcm5719-llvm-d5f33a86f0ee245a04718e774c990fb242ecd091.tar.gz bcm5719-llvm-d5f33a86f0ee245a04718e774c990fb242ecd091.zip |
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
Diffstat (limited to 'lldb/source/Expression/ClangUserExpression.cpp')
-rw-r--r-- | lldb/source/Expression/ClangUserExpression.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
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<clang::PointerType>(); - - 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<clang::ObjCMethodDecl>(decl_context)) |