summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/Ralloc.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-09-29 11:14:04 -0700
committer buzbee <buzbee@google.com> 2011-09-29 13:38:10 -0700
commit6181f79576e4269937b45e4fce8d0d004107e5b9 (patch)
tree1e5970dd4074c9852b10ecfc6bc4f18b89d40dd7 /src/compiler/codegen/Ralloc.h
parent557e027f86d86f801e1b48055f8116f2d83d3d5c (diff)
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
Diffstat (limited to 'src/compiler/codegen/Ralloc.h')
-rw-r--r--src/compiler/codegen/Ralloc.h5
1 files changed, 4 insertions, 1 deletions
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_