From 74180cad94848107cf297d37e72437c5a6eecf1b Mon Sep 17 00:00:00 2001 From: Jeff Hao Date: Wed, 27 Mar 2013 15:29:11 -0700 Subject: Remove code related to compiled invoke stubs. Note that the oat file version is now bumped to 004. A clean-oat will be necessary after syncing this change. Change-Id: If8875335b7fcc39b6b40c6f95de07da50da7b6b8 --- src/compiler/llvm/compiler_llvm.cc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/compiler/llvm/compiler_llvm.cc') diff --git a/src/compiler/llvm/compiler_llvm.cc b/src/compiler/llvm/compiler_llvm.cc index 3fbc55a41b..0fa9eecefe 100644 --- a/src/compiler/llvm/compiler_llvm.cc +++ b/src/compiler/llvm/compiler_llvm.cc @@ -174,17 +174,6 @@ CompileNativeMethod(DexCompilationUnit* dex_compilation_unit) { } -CompiledInvokeStub* CompilerLLVM::CreateInvokeStub(bool is_static, - char const *shorty) { - UniquePtr cunit(AllocateCompilationUnit()); - - UniquePtr stub_compiler( - new StubCompiler(cunit.get(), *compiler_driver_)); - - return stub_compiler->CreateInvokeStub(is_static, shorty); -} - - CompiledInvokeStub* CompilerLLVM::CreateProxyStub(char const *shorty) { UniquePtr cunit(AllocateCompilationUnit()); @@ -255,15 +244,6 @@ extern "C" art::CompiledMethod* ArtLLVMJniCompileMethod(art::CompilerDriver& dri return result; } -extern "C" art::CompiledInvokeStub* ArtCreateLLVMInvokeStub(art::CompilerDriver& driver, - bool is_static, - const char* shorty, - uint32_t shorty_len) { - art::llvm::CompilerLLVM* compiler_llvm = ContextOf(driver); - art::CompiledInvokeStub* result = compiler_llvm->CreateInvokeStub(is_static, shorty); - return result; -} - extern "C" art::CompiledInvokeStub* ArtCreateProxyStub(art::CompilerDriver& driver, const char* shorty, uint32_t shorty_len) { -- cgit v1.2.3-59-g8ed1b