summaryrefslogtreecommitdiff
path: root/src/compiler/frontend.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/frontend.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/frontend.cc')
-rw-r--r--src/compiler/frontend.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/compiler/frontend.cc b/src/compiler/frontend.cc
index 9afd18e4d9..c0f3316720 100644
--- a/src/compiler/frontend.cc
+++ b/src/compiler/frontend.cc
@@ -28,7 +28,7 @@
#include <llvm/Support/Threading.h>
namespace {
-#if !defined(ART_USE_LLVM_COMPILER)
+#if !defined(ART_USE_PORTABLE_COMPILER)
pthread_once_t llvm_multi_init = PTHREAD_ONCE_INIT;
#endif
void InitializeLLVMForQuick() {
@@ -39,7 +39,7 @@ namespace {
namespace art {
LLVMInfo::LLVMInfo() {
-#if !defined(ART_USE_LLVM_COMPILER)
+#if !defined(ART_USE_PORTABLE_COMPILER)
pthread_once(&llvm_multi_init, InitializeLLVMForQuick);
#endif
// Create context, module, intrinsic helper & ir builder
@@ -814,7 +814,6 @@ static CompiledMethod* CompileMethod(Compiler& compiler,
if ((compiler_backend == kQuickGBC) || (compiler_backend == kPortable)) {
cu->gen_bitcode = true;
}
- DCHECK_NE(compiler_backend, kIceland); // TODO: remove when Portable/Iceland merge complete
cu->llvm_info = llvm_info;
/* Adjust this value accordingly once inlining is performed */
cu->num_dalvik_registers = code_item->registers_size_;