summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/Ralloc.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2011-09-26 15:05:48 -0700
committer buzbee <buzbee@google.com> 2011-09-26 15:05:48 -0700
commitb29e4d1423028fab47db3be6e41e4b2a067bf100 (patch)
treec965f68c3c57750a837baf4f70fd9dc876adb082 /src/compiler/codegen/Ralloc.h
parent395520eaa47eca25b92e86188accf3095d60af49 (diff)
Misc codegen fixes related to register promotion
The post-promotion world no longer guarantees that wide result pairs don't overlap with source operands. Also had to narrow a load-elimination optimization to apply only when using temp registers for Dalvik virtual registers. Change-Id: I2afbbec865d5a14d46e539cce4d8b3d0e4e8880b
Diffstat (limited to 'src/compiler/codegen/Ralloc.h')
-rw-r--r--src/compiler/codegen/Ralloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/codegen/Ralloc.h b/src/compiler/codegen/Ralloc.h
index 0c3fbcaea2..e2cb1ce377 100644
--- a/src/compiler/codegen/Ralloc.h
+++ b/src/compiler/codegen/Ralloc.h
@@ -141,6 +141,8 @@ extern void oatClobberCallRegs(CompilationUnit* cUnit);
extern RegisterInfo *oatIsTemp(CompilationUnit* cUnit, int reg);
+extern RegisterInfo *oatIsPromoted(CompilationUnit* cUnit, int reg);
+
extern bool oatIsDirty(CompilationUnit* cUnit, int reg);
extern void oatMarkInUse(CompilationUnit* cUnit, int reg);