diff options
| author | 2011-08-24 15:56:30 -0700 | |
|---|---|---|
| committer | 2011-08-24 15:56:30 -0700 | |
| commit | 00ba1784be79401d1e096dd9ff44ec14d382993e (patch) | |
| tree | 262dbd2b97679f7b55866973af77c76f47c67d94 /src/compiler/codegen/RallocUtil.cc | |
| parent | b465ab0e103d7760df903c1fddf4fa6b89d5d1f5 (diff) | |
| parent | 9e0f9b0d3e2cd78092e5c4b66ce1edcd79c951ea (diff) | |
Merge "Add switch and comparison tests. Fix ralloc bug" into dalvik-dev
Diffstat (limited to 'src/compiler/codegen/RallocUtil.cc')
| -rw-r--r-- | src/compiler/codegen/RallocUtil.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compiler/codegen/RallocUtil.cc b/src/compiler/codegen/RallocUtil.cc index 30b52804e5..3b222f6f76 100644 --- a/src/compiler/codegen/RallocUtil.cc +++ b/src/compiler/codegen/RallocUtil.cc @@ -783,6 +783,12 @@ extern void oatMarkTemp(CompilationUnit* cUnit, int reg) info->isTemp = true; } +extern void oatUnmarkTemp(CompilationUnit* cUnit, int reg) +{ + RegisterInfo* info = getRegInfo(cUnit, reg); + info->isTemp = false; +} + extern void oatMarkPair(CompilationUnit* cUnit, int lowReg, int highReg) { RegisterInfo* infoLo = getRegInfo(cUnit, lowReg); |