summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/Ralloc.h
diff options
context:
space:
mode:
author buzbee <buzbee@google.com> 2012-03-18 13:24:07 -0700
committer buzbee <buzbee@google.com> 2012-03-18 18:17:16 -0700
commit9c044ce5f76e9bfa17c4c1979e9f8c99ae100695 (patch)
tree6eefdf59583cd75f1e77814b85bbf1222addd395 /src/compiler/codegen/Ralloc.h
parent3fa13791c51985d9956d01bc465de6d36c3390d3 (diff)
Support for promoting Method* and compiler temps
This CL completes the support for allowing compiler-generated data to be treated as a Dalvik register and become subject to the normal register promotion and live temp tracking machinery. Also: o Removes some vestigal and useless Method* loads from range argument setup. o Changes the Method* pseudo vReg number from -1 to -2 to avoid a conflict with the 0xffff marker in the register map. o Removes some experimental code for CSE at the basic block level. Change-Id: I112a8bbe20f95a8d789f63908c84e5fa167c74ac
Diffstat (limited to 'src/compiler/codegen/Ralloc.h')
-rw-r--r--src/compiler/codegen/Ralloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/codegen/Ralloc.h b/src/compiler/codegen/Ralloc.h
index aa5439a285..21690821a8 100644
--- a/src/compiler/codegen/Ralloc.h
+++ b/src/compiler/codegen/Ralloc.h
@@ -233,7 +233,7 @@ extern void oatNopLIR(LIR* lir);
extern bool oatIsFPReg(int reg);
extern uint32_t oatFPRegMask(void);
extern void oatAdjustSpillMask(CompilationUnit* cUnit);
-void oatMarkPreservedSingle(CompilationUnit* cUnit, int sReg, int reg);
+void oatMarkPreservedSingle(CompilationUnit* cUnit, int vReg, int reg);
void oatRegCopy(CompilationUnit* cUnit, int rDest, int rSrc);
} // namespace art