From c5ef046ba4a484b08d0286393574396669a57c03 Mon Sep 17 00:00:00 2001 From: buzbee Date: Thu, 25 Aug 2011 18:44:49 -0700 Subject: Add slow-path code gen for static/direct invokes Also added recursive fibonacci test, but conditionally compiled it out. Change-Id: Ic36e38dc7c428f1f9f299e2732e7f156ee492ed0 --- src/compiler/codegen/RallocUtil.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/compiler/codegen/RallocUtil.cc') 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); } } -- cgit v1.2.3-59-g8ed1b