summaryrefslogtreecommitdiff
path: root/src/compiler/llvm/gbc_expander.cc
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2013-07-11 16:00:56 -0700
committer Brian Carlstrom <bdc@google.com> 2013-07-11 21:16:04 -0700
commit51c2467e8771b56e25ae4f17f66522f979f57a7e (patch)
tree16a66abbb45ea3fcc8c513c8511f34a46cd454c4 /src/compiler/llvm/gbc_expander.cc
parent27c590edf6c24107b6473e84e526c432bd081f6e (diff)
libart-compiler cleanup
- Move compile-time code to src/compiler and libart-compiler OatWriter, ImageWriter, ElfWriter, ElfFixup, ElfStripper, stub generation - Move ClassReference and MethodReference to remove MethodVerifier dependency on CompilerDriver - Move runtime_support_llvm.cc out of src/compiler and next to runtime_support.cc - Change dex2oat and gtests to directly depend on libart-compiler - Move non-common definitions from Android.common.mk to more specific makefiles - Add LOCAL_ADDITIONAL_DEPENDENCIES on appropriate makefiles Change-Id: I897027e69945914128f21f317a92caf9255bc600
Diffstat (limited to 'src/compiler/llvm/gbc_expander.cc')
-rw-r--r--src/compiler/llvm/gbc_expander.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/llvm/gbc_expander.cc b/src/compiler/llvm/gbc_expander.cc
index bdf9aca68f..4702b37de1 100644
--- a/src/compiler/llvm/gbc_expander.cc
+++ b/src/compiler/llvm/gbc_expander.cc
@@ -19,6 +19,7 @@
#include "dex_file-inl.h"
#include "intrinsic_helper.h"
#include "ir_builder.h"
+#include "method_reference.h"
#include "mirror/abstract_method.h"
#include "mirror/array.h"
#include "mirror/string.h"
@@ -776,8 +777,8 @@ llvm::Value* GBCExpanderPass::EmitInvoke(llvm::CallInst& call_inst) {
art::InvokeType invoke_type =
static_cast<art::InvokeType>(LV2UInt(call_inst.getArgOperand(0)));
bool is_static = (invoke_type == art::kStatic);
- art::CompilerDriver::MethodReference target_method(dex_compilation_unit_->GetDexFile(),
- LV2UInt(call_inst.getArgOperand(1)));
+ art::MethodReference target_method(dex_compilation_unit_->GetDexFile(),
+ LV2UInt(call_inst.getArgOperand(1)));
// Load *this* actual parameter
llvm::Value* this_addr = (!is_static) ? call_inst.getArgOperand(3) : NULL;