diff options
author | 2013-04-24 18:41:58 -0700 | |
---|---|---|
committer | 2013-04-26 14:50:52 -0700 | |
commit | 79fe539587d4c09244172d0168eeed0ec9770466 (patch) | |
tree | 4fb8fbd03727a74acb4dfde7e969adf32ee32750 /src/compiler/driver/compiler_driver.cc | |
parent | 09b55e1df3b0bcecee25882e45e882887cc8654f (diff) |
Removing remaining compiled stubs from image.
Abstract method error stub and jni dlsym lookup stubs are gone.
After this change, the image no longer needs to be executable.
Change-Id: Ic75d72bf7e76e3b8ecc596e82af68ab592dde15e
Diffstat (limited to 'src/compiler/driver/compiler_driver.cc')
-rw-r--r-- | src/compiler/driver/compiler_driver.cc | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/compiler/driver/compiler_driver.cc b/src/compiler/driver/compiler_driver.cc index e6f4b67b91..1660914ce3 100644 --- a/src/compiler/driver/compiler_driver.cc +++ b/src/compiler/driver/compiler_driver.cc @@ -28,7 +28,6 @@ #include "dex_file-inl.h" #include "jni_internal.h" #include "oat_file.h" -#include "oat/runtime/stub.h" #include "object_utils.h" #include "runtime.h" #include "gc/card_table-inl.h" @@ -409,36 +408,6 @@ CompilerTls* CompilerDriver::GetTls() { return res; } -mirror::ByteArray* CompilerDriver::CreateJniDlsymLookupStub(InstructionSet instruction_set) { - switch (instruction_set) { - case kArm: - case kThumb2: - return arm::CreateJniDlsymLookupStub(); - case kMips: - return mips::CreateJniDlsymLookupStub(); - case kX86: - return x86::CreateJniDlsymLookupStub(); - default: - LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; - return NULL; - } -} - -mirror::ByteArray* CompilerDriver::CreateAbstractMethodErrorStub(InstructionSet instruction_set) { - switch (instruction_set) { - case kArm: - case kThumb2: - return arm::CreateAbstractMethodErrorStub(); - case kMips: - return mips::CreateAbstractMethodErrorStub(); - case kX86: - return x86::CreateAbstractMethodErrorStub(); - default: - LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; - return NULL; - } -} - void CompilerDriver::CompileAll(jobject class_loader, const std::vector<const DexFile*>& dex_files) { DCHECK(!Runtime::Current()->IsStarted()); |