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/Ralloc.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/compiler/codegen/Ralloc.h') diff --git a/src/compiler/codegen/Ralloc.h b/src/compiler/codegen/Ralloc.h index e2cb1ce377..e87da884df 100644 --- a/src/compiler/codegen/Ralloc.h +++ b/src/compiler/codegen/Ralloc.h @@ -137,7 +137,7 @@ extern RegLocation oatGetDest(CompilationUnit* cUnit, MIR* mir, int num); extern RegLocation oatGetReturnWide(CompilationUnit* cUnit); /* Clobber all regs that might be used by an external C call */ -extern void oatClobberCallRegs(CompilationUnit* cUnit); +extern void oatClobberCalleeSave(CompilationUnit* cUnit); extern RegisterInfo *oatIsTemp(CompilationUnit* cUnit, int reg); @@ -232,4 +232,7 @@ extern void oatFlushRegWideImpl(CompilationUnit* cUnit, int rBase, extern void oatDoPromotion(CompilationUnit* cUnit); extern int oatVRegOffset(CompilationUnit* cUnit, int reg); +extern void oatDumpCoreRegPool(CompilationUnit* cUint); +extern void oatDumpFPRegPool(CompilationUnit* cUint); +extern bool oatCheckCorePoolSanity(CompilationUnit* cUnit); #endif // ART_SRC_COMPILER_RALLOC_H_ -- cgit v1.2.3-59-g8ed1b