diff options
author | 2013-04-05 16:48:22 -0700 | |
---|---|---|
committer | 2013-04-08 10:23:45 -0700 | |
commit | 9609cb6ee479d5853aaf170d55b60715491c5db5 (patch) | |
tree | 4b227a7c81ee685ee542eae97208a15fa2266eee /src/compiler/llvm/compiler_llvm.cc | |
parent | 5fa60c3db4208df407113b5a69d295a9c93d53b1 (diff) |
Remove remaining code related to compiled invoke and proxy stubs.
Change-Id: Ib0b2829fed9d7efee09d098ce4db9d13f2fa2eac
Diffstat (limited to 'src/compiler/llvm/compiler_llvm.cc')
-rw-r--r-- | src/compiler/llvm/compiler_llvm.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/compiler/llvm/compiler_llvm.cc b/src/compiler/llvm/compiler_llvm.cc index 347a4dbf52..dfd0e326d2 100644 --- a/src/compiler/llvm/compiler_llvm.cc +++ b/src/compiler/llvm/compiler_llvm.cc @@ -22,7 +22,6 @@ #include "compiled_method.h" #include "compiler/driver/compiler_driver.h" #include "compiler/driver/dex_compilation_unit.h" -#include "compiler/invoke_stubs/portable/stub_compiler.h" #include "compiler/jni/portable/jni_compiler.h" #include "globals.h" #include "ir_builder.h" @@ -173,15 +172,6 @@ CompileNativeMethod(DexCompilationUnit* dex_compilation_unit) { } -CompiledInvokeStub* CompilerLLVM::CreateProxyStub(char const *shorty) { - UniquePtr<LlvmCompilationUnit> cunit(AllocateCompilationUnit()); - - UniquePtr<StubCompiler> stub_compiler( - new StubCompiler(cunit.get(), *compiler_driver_)); - - return stub_compiler->CreateProxyStub(shorty); -} - } // namespace llvm } // namespace art @@ -243,14 +233,6 @@ extern "C" art::CompiledMethod* ArtLLVMJniCompileMethod(art::CompilerDriver& dri return result; } -extern "C" art::CompiledInvokeStub* ArtCreateProxyStub(art::CompilerDriver& driver, - const char* shorty, - uint32_t shorty_len) { - art::llvm::CompilerLLVM* compiler_llvm = ContextOf(driver); - art::CompiledInvokeStub* result = compiler_llvm->CreateProxyStub(shorty); - return result; -} - extern "C" void compilerLLVMSetBitcodeFileName(art::CompilerDriver& driver, std::string const& filename) { ContextOf(driver)->SetBitcodeFileName(filename); |