diff options
author | 2014-03-21 11:21:37 +0700 | |
---|---|---|
committer | 2014-03-28 13:55:19 +0700 | |
commit | fca82208f7128fcda09b6a4743199308332558a2 (patch) | |
tree | 8bed3f2fd50773003647daba43570335a74b5c90 /compiler/compiled_method.cc | |
parent | ad174d1b54bf2fa477bec71a0ca93595f54b8fe9 (diff) |
x86_64: JNI compiler
Passed all tests from jni_compiler_test and art/test on host with jni_copiler.
Incoming argument spill is enabled, entry_spills refactored. Now each entry spill
contains data type size (4 or 8) and offset which should be used for spill.
Assembler REX support implemented in opcodes used in JNI compiler.
Please note, JNI compiler is not enabled by default yet (see compiler_driver.cc:1875).
Change-Id: I5fd19cca72122b197aec07c3708b1e80c324be44
Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>
Diffstat (limited to 'compiler/compiled_method.cc')
-rw-r--r-- | compiler/compiled_method.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/compiled_method.cc b/compiler/compiled_method.cc index 344f3ef745..8e013c1ece 100644 --- a/compiler/compiled_method.cc +++ b/compiler/compiled_method.cc @@ -105,6 +105,7 @@ size_t CompiledCode::CodeDelta() const { case kArm64: case kMips: case kX86: + case kX86_64: return 0; case kThumb2: { // +1 to set the low-order bit so a BLX will switch to Thumb mode @@ -123,6 +124,7 @@ const void* CompiledCode::CodePointer(const void* code_pointer, case kArm64: case kMips: case kX86: + case kX86_64: return code_pointer; case kThumb2: { uintptr_t address = reinterpret_cast<uintptr_t>(code_pointer); |