summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/RallocUtil.cc
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-08-25 18:44:49 -0700
committer buzbee <buzbee@google.com> 2011-08-25 18:44:49 -0700
commitc5ef046ba4a484b08d0286393574396669a57c03 (patch)
tree331ef8c3b48daf7214457ff621932c0574269f1b /src/compiler/codegen/RallocUtil.cc
parentbafc342a37e423a19ac05f14800006ea9d67a941 (diff)
Add slow-path code gen for static/direct invokes
Also added recursive fibonacci test, but conditionally compiled it out. Change-Id: Ic36e38dc7c428f1f9f299e2732e7f156ee492ed0
Diffstat (limited to 'src/compiler/codegen/RallocUtil.cc')
-rw-r--r--src/compiler/codegen/RallocUtil.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/codegen/RallocUtil.cc b/src/compiler/codegen/RallocUtil.cc
index 3b222f6f76..492c79ae83 100644
--- a/src/compiler/codegen/RallocUtil.cc
+++ b/src/compiler/codegen/RallocUtil.cc
@@ -717,7 +717,8 @@ extern void oatLockAllTemps(CompilationUnit* cUnit)
{
int i;
for (i=0; i< cUnit->regPool->numCoreRegs; i++) {
- oatLockTemp(cUnit, cUnit->regPool->coreRegs[i].reg);
+ if (cUnit->regPool->coreRegs[i].isTemp)
+ oatLockTemp(cUnit, cUnit->regPool->coreRegs[i].reg);
}
}