diff options
| author | 2012-12-21 11:16:29 -0800 | |
|---|---|---|
| committer | 2013-01-08 14:38:02 -0800 | |
| commit | 26f10eed520942d3db754c31941e457048475f61 (patch) | |
| tree | 6b0bdd82479c1a6d8fed05071b1990df5840e803 /src/compiler_llvm/gbc_expander.cc | |
| parent | 1a25aa432314bcf008c11e3514afc0b7aeb64d5c (diff) | |
Fix Portable build
A previous change broke the ability to compile the Portable build.
Instead of building Portable, we unwittingly were building Iceland.
This CL fixes that, along with some bitrot unknowingly introduced
by subsequent CLs.
In particular, the debugger support change to add an intrinsic
call to associate value definitions with the original Dalvik
VReg broke llvm's Phi constraint. Fixed.
However, problems remain. Though the build is now fixed, CLs
subsequent to the makefile breakage broke the Portable llvm backend.
This CL will shift all Portable compilations to Iceland while the
new breakage is being addressed.
Change-Id: I7b08b26ed653a7b477f0ae9a226b7ee09c6b3398
Diffstat (limited to 'src/compiler_llvm/gbc_expander.cc')
| -rw-r--r-- | src/compiler_llvm/gbc_expander.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler_llvm/gbc_expander.cc b/src/compiler_llvm/gbc_expander.cc index 93d7d48ab3..0f71512e5d 100644 --- a/src/compiler_llvm/gbc_expander.cc +++ b/src/compiler_llvm/gbc_expander.cc @@ -45,7 +45,7 @@ using namespace art::compiler_llvm; using art::greenland::IntrinsicHelper; namespace art { -extern char remapShorty(char shortyType); +extern char RemapShorty(char shortyType); }; namespace { @@ -2485,7 +2485,7 @@ llvm::FunctionType* GBCExpanderPass::GetFunctionType(uint32_t method_idx, char ret_shorty = shorty[0]; #if defined(ART_USE_PORTABLE_COMPILER) - ret_shorty = art::remapShorty(ret_shorty); + ret_shorty = art::RemapShorty(ret_shorty); #endif llvm::Type* ret_type = irb_.getJType(ret_shorty, kAccurate); @@ -2500,7 +2500,7 @@ llvm::FunctionType* GBCExpanderPass::GetFunctionType(uint32_t method_idx, for (uint32_t i = 1; i < shorty_size; ++i) { #if defined(ART_USE_PORTABLE_COMPILER) - char shorty_type = art::remapShorty(shorty[i]); + char shorty_type = art::RemapShorty(shorty[i]); args_type.push_back(irb_.getJType(shorty_type, kAccurate)); #else args_type.push_back(irb_.getJType(shorty[i], kAccurate)); @@ -2635,7 +2635,7 @@ llvm::BasicBlock* GBCExpanderPass::GetUnwindBasicBlock() { // Emit the code to return default value (zero) for the given return type. char ret_shorty = oat_compilation_unit_->GetShorty()[0]; #if defined(ART_USE_PORTABLE_COMPILER) - ret_shorty = art::remapShorty(ret_shorty); + ret_shorty = art::RemapShorty(ret_shorty); #endif if (ret_shorty == 'V') { irb_.CreateRetVoid(); |