From c928de90ad22ecdf83c18a07008409595f13d3b1 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Wed, 27 Feb 2013 14:30:44 -0800 Subject: Remove Iceland. ART_USE_LLVM_COMPILER is removed and when necessary ART_USE_PORTABLE_COMPILER is used in #ifdefs. Change-Id: Iffa9ce5b0246c7c427ccc4e67ecc134624632e55 --- src/compiler_llvm/stub_compiler.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/compiler_llvm/stub_compiler.cc') diff --git a/src/compiler_llvm/stub_compiler.cc b/src/compiler_llvm/stub_compiler.cc index e6bee7b620..77f5d8e680 100644 --- a/src/compiler_llvm/stub_compiler.cc +++ b/src/compiler_llvm/stub_compiler.cc @@ -151,7 +151,6 @@ CompiledInvokeStub* StubCompiler::CreateInvokeStub(bool is_static, llvm::Value* code_addr = irb_.CreateLoad(code_field_addr, kTBAARuntimeInfo); llvm::CallInst* retval = irb_.CreateCall(code_addr, args); -#if defined(ART_USE_PORTABLE_COMPILER) for (size_t i = 1; i < shorty_size; ++i) { switch(shorty[i]) { case 'Z': @@ -167,7 +166,6 @@ CompiledInvokeStub* StubCompiler::CreateInvokeStub(bool is_static, default: break; } } -#endif // Store the returned value if (shorty[0] != 'V') { @@ -216,7 +214,6 @@ CompiledInvokeStub* StubCompiler::CreateProxyStub(const char* shorty) { llvm::Function* func = llvm::Function::Create(accurate_func_type, llvm::Function::ExternalLinkage, func_name, module_); -#if defined(ART_USE_PORTABLE_COMPILER) switch(shorty[0]) { case 'Z': case 'C': @@ -230,7 +227,6 @@ CompiledInvokeStub* StubCompiler::CreateProxyStub(const char* shorty) { default: break; } -#endif // Create basic block for the body of this function llvm::BasicBlock* block_body = -- cgit v1.2.3-59-g8ed1b