diff options
| author | 2014-04-16 15:18:13 +0000 | |
|---|---|---|
| committer | 2014-04-16 15:18:14 +0000 | |
| commit | b94fae66dac14be955c68028447cdad84ee22bf9 (patch) | |
| tree | c6af9a1d373b4f8763c9001b8e81c9ae772011ab /compiler/dex/frontend.cc | |
| parent | 2faf284e072230d4fd447955fa72ac4d9a3b51a0 (diff) | |
| parent | af13ad9fd18b6f75fe82e7995224c55654594f93 (diff) | |
Merge "Centralize instruction-set pointer-size, alignment, 64b-width code in instruction_set.h/cc"
Diffstat (limited to 'compiler/dex/frontend.cc')
| -rw-r--r-- | compiler/dex/frontend.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/dex/frontend.cc b/compiler/dex/frontend.cc index 201dc47bf7..1bf5fce989 100644 --- a/compiler/dex/frontend.cc +++ b/compiler/dex/frontend.cc @@ -158,7 +158,7 @@ static CompiledMethod* CompileMethod(CompilerDriver& driver, if (cu.instruction_set == kArm) { cu.instruction_set = kThumb2; } - cu.target64 = (cu.instruction_set == kX86_64) || (cu.instruction_set == kArm64); + cu.target64 = Is64BitInstructionSet(cu.instruction_set); cu.compiler = compiler; // TODO: x86_64 & arm64 are not yet implemented. CHECK((cu.instruction_set == kThumb2) || @@ -166,7 +166,6 @@ static CompiledMethod* CompileMethod(CompilerDriver& driver, (cu.instruction_set == kX86_64) || (cu.instruction_set == kMips)); - /* Adjust this value accordingly once inlining is performed */ cu.num_dalvik_registers = code_item->registers_size_; // TODO: set this from command line |