summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/stub_compiler.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-02-27 14:30:44 -0800
committer Ian Rogers <irogers@google.com> 2013-02-27 14:30:44 -0800
commitc928de90ad22ecdf83c18a07008409595f13d3b1 (patch)
tree065a08f379960f7ba946318aaa742d7ddd0c94bd /src/compiler_llvm/stub_compiler.cc
parent0f827169742aad6209d830db773a101849c32a83 (diff)
Remove Iceland.
ART_USE_LLVM_COMPILER is removed and when necessary ART_USE_PORTABLE_COMPILER is used in #ifdefs. Change-Id: Iffa9ce5b0246c7c427ccc4e67ecc134624632e55
Diffstat (limited to 'src/compiler_llvm/stub_compiler.cc')
-rw-r--r--src/compiler_llvm/stub_compiler.cc4
1 files changed, 0 insertions, 4 deletions
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 =