From 6181f79576e4269937b45e4fce8d0d004107e5b9 Mon Sep 17 00:00:00 2001 From: buzbee Date: Thu, 29 Sep 2011 11:14:04 -0700 Subject: Register usage cleanup I plan to enable some of the old-world basic block optimizations. Those care about temp register status, so we needed a bit of cleanup on the temp tracking. Change-Id: I317bce1b91a73ec9589c20ed5bfe00d53994991a --- src/compiler/codegen/arm/ArmRallocUtil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compiler/codegen/arm/ArmRallocUtil.cc') diff --git a/src/compiler/codegen/arm/ArmRallocUtil.cc b/src/compiler/codegen/arm/ArmRallocUtil.cc index 3de0e79d4d..84c3792382 100644 --- a/src/compiler/codegen/arm/ArmRallocUtil.cc +++ b/src/compiler/codegen/arm/ArmRallocUtil.cc @@ -277,7 +277,7 @@ extern int oatVRegOffsetFromMethod(Method* method, int reg) } /* Clobber all regs that might be used by an external C call */ -extern void oatClobberCallRegs(CompilationUnit *cUnit) +extern void oatClobberCalleeSave(CompilationUnit *cUnit) { oatClobber(cUnit, r0); oatClobber(cUnit, r1); -- cgit v1.2.3-59-g8ed1b