summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/MethodBitcode.cc
diff options
context:
space:
mode:
author Shih-wei Liao <sliao@google.com> 2012-08-10 23:22:33 -0700
committer Shih-wei Liao <sliao@google.com> 2012-09-15 04:51:24 -0700
commit569daf19499049ca1ff790bc8b8970596d2f967b (patch)
treea9d49559d67c8af5bde8cfb9b0c43e506397f232 /src/compiler/codegen/MethodBitcode.cc
parentbb33f2fa8e462937574a8cd1b744b86c2f762571 (diff)
Always push shadowframe for stack trace lookup.
Change-Id: I1a7249505aa6300fe47331e30772dde64cbe4df3
Diffstat (limited to 'src/compiler/codegen/MethodBitcode.cc')
-rw-r--r--src/compiler/codegen/MethodBitcode.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/codegen/MethodBitcode.cc b/src/compiler/codegen/MethodBitcode.cc
index 6f2c52d97d..5aebc06f64 100644
--- a/src/compiler/codegen/MethodBitcode.cc
+++ b/src/compiler/codegen/MethodBitcode.cc
@@ -1810,12 +1810,12 @@ bool methodBlockBitcodeConversion(CompilationUnit* cUnit, BasicBlock* bb)
cUnit->shadowMap[j++] = i;
}
}
- greenland::IntrinsicHelper::IntrinsicId id =
- greenland::IntrinsicHelper::AllocaShadowFrame;
- llvm::Function* func = cUnit->intrinsic_helper->GetIntrinsicFunction(id);
- llvm::Value* entries = cUnit->irb->getInt32(cUnit->numShadowFrameEntries);
- cUnit->irb->CreateCall(func, entries);
}
+ greenland::IntrinsicHelper::IntrinsicId id =
+ greenland::IntrinsicHelper::AllocaShadowFrame;
+ llvm::Function* func = cUnit->intrinsic_helper->GetIntrinsicFunction(id);
+ llvm::Value* entries = cUnit->irb->getInt32(cUnit->numShadowFrameEntries);
+ cUnit->irb->CreateCall(func, entries);
} else if (bb->blockType == kExitBlock) {
/*
* Because of the differences between how MIR/LIR and llvm handle exit