Using gcmap instead of shadow frame.
Fix misuse of TBAAJRuntime & TBAARuntimeInfo. Now, the TBAAJRuntime is
only for runtime support function.
Update DexPC before lock object and suspend.
Change-Id: I40fa37f4863fe6e127328a8413285ee3c62e8505
diff --git a/src/compiler_llvm/compiler_llvm.cc b/src/compiler_llvm/compiler_llvm.cc
index 3ec5e68..7843407 100644
--- a/src/compiler_llvm/compiler_llvm.cc
+++ b/src/compiler_llvm/compiler_llvm.cc
@@ -31,6 +31,7 @@
#include "stl_util.h"
#include "stub_compiler.h"
#include "utils_llvm.h"
+#include "verifier/method_verifier.h"
#include <llvm/LinkAllPasses.h>
#include <llvm/LinkAllVMCore.h>
@@ -180,8 +181,10 @@
cunit->Materialize();
- return new CompiledMethod(cunit->GetInstructionSet(),
- cunit->GetCompiledCode());
+ Compiler::MethodReference mref(dex_file_, method_idx_);
+ return new CompiledMethod(cunit_->GetInstructionSet(),
+ cunit_->GetCompiledCode(),
+ *verifier::MethodVerifier::GetDexGcMap(mref));
}
#else
UniquePtr<MethodCompiler> method_compiler(