diff options
| author | 2012-04-13 23:36:36 -0700 | |
|---|---|---|
| committer | 2012-04-14 13:38:06 -0700 | |
| commit | 776ac1fa61237db645adb4370a4aab888530caf4 (patch) | |
| tree | fbdfe1dec5f1c890d479f700f2b11549d5574119 /src/compiler_llvm/method_compiler.cc | |
| parent | 42f302c1da4cf1abf935d7aee29ece8d90441e0c (diff) | |
Separate out more of LLVM build. Move verifier.
Move the verifier to its own directory and break out major components.
Avoid compiling unused files as part of the LLVM build, increase the use
of unimplemented for LLVM.
Change-Id: Icd3b1708363fb70ae99417d06ef8669d60446533
Diffstat (limited to 'src/compiler_llvm/method_compiler.cc')
| -rw-r--r-- | src/compiler_llvm/method_compiler.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler_llvm/method_compiler.cc b/src/compiler_llvm/method_compiler.cc index e044c54b44..fc9c4d8c4f 100644 --- a/src/compiler_llvm/method_compiler.cc +++ b/src/compiler_llvm/method_compiler.cc @@ -19,7 +19,6 @@ #include "backend_types.h" #include "compilation_unit.h" #include "compiler.h" -#include "dex_verifier.h" #include "inferred_reg_category_map.h" #include "ir_builder.h" #include "logging.h" @@ -32,6 +31,7 @@ #include "stl_util.h" #include "stringprintf.h" #include "utils_llvm.h" +#include "verifier/method_verifier.h" #include <iomanip> @@ -62,6 +62,7 @@ MethodCompiler::MethodCompiler(CompilationUnit* cunit, module_(cunit->GetModule()), context_(cunit->GetLLVMContext()), irb_(*cunit->GetIRBuilder()), func_(NULL), retval_reg_(NULL), + basic_block_stack_overflow_(NULL), basic_block_reg_alloca_(NULL), basic_block_shadow_frame_alloca_(NULL), basic_block_reg_zero_init_(NULL), basic_block_reg_arg_init_(NULL), basic_blocks_(code_item_->insns_size_in_code_units_), @@ -2215,7 +2216,7 @@ RegCategory MethodCompiler::GetInferredRegCategory(uint32_t dex_pc, Compiler::MethodReference mref(dex_file_, method_idx_); InferredRegCategoryMap const* map = - verifier::DexVerifier::GetInferredRegCategoryMap(mref); + verifier::MethodVerifier::GetInferredRegCategoryMap(mref); CHECK_NE(map, static_cast<InferredRegCategoryMap*>(NULL)); |