diff options
| author | 2015-04-06 22:59:53 +0000 | |
|---|---|---|
| committer | 2015-04-06 22:59:53 +0000 | |
| commit | a728627be3fad188a50f24e8d2032c78a8d58aca (patch) | |
| tree | 2066ed8e4c6bad6221d2512132444696bdde89b1 /compiler/driver/compiler_driver.cc | |
| parent | 9104503b4053231d518c3e796033ee01f02bcdf1 (diff) | |
| parent | 75c40d419b621342ac834e5b61abcdcd84537063 (diff) | |
Merge "Fix JNI compiler for mips64"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
| -rw-r--r-- | compiler/driver/compiler_driver.cc | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index f52f50eda5..b32e1f2469 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -2214,10 +2214,8 @@ void CompilerDriver::CompileMethod(Thread* self, const DexFile::CodeItem* code_i          InstructionSetHasGenericJniStub(instruction_set_)) {        // Leaving this empty will trigger the generic JNI version      } else { -      if (instruction_set_ != kMips64) {  // Use generic JNI for Mips64 (temporarily). -        compiled_method = compiler_->JniCompile(access_flags, method_idx, dex_file); -        CHECK(compiled_method != nullptr); -      } +      compiled_method = compiler_->JniCompile(access_flags, method_idx, dex_file); +      CHECK(compiled_method != nullptr);      }    } else if ((access_flags & kAccAbstract) != 0) {      // Abstract methods don't have code. |