diff options
| author | 2011-09-08 17:34:58 -0700 | |
|---|---|---|
| committer | 2011-09-08 17:54:29 -0700 | |
| commit | 0d966cff87464544a264efdbfba6c379474d5928 (patch) | |
| tree | 74ce88ebfdb902c90700b20b6b4e82290b77e70b /src/compiler/codegen/RallocUtil.cc | |
| parent | 34cd9e58431504c36d0cb2a8fd0f3fac16dcb406 (diff) | |
Add suspend check & stub
Change-Id: I017653026ca95166cbc4b6b94b5da1fef2597804
Diffstat (limited to 'src/compiler/codegen/RallocUtil.cc')
| -rw-r--r-- | src/compiler/codegen/RallocUtil.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler/codegen/RallocUtil.cc b/src/compiler/codegen/RallocUtil.cc index 5951ad4fdc..1fe680f2d8 100644 --- a/src/compiler/codegen/RallocUtil.cc +++ b/src/compiler/codegen/RallocUtil.cc @@ -712,6 +712,16 @@ extern void oatLockCallTemps(CompilationUnit* cUnit) oatLockTemp(cUnit, r3); } +/* To be used when explicitly managing register use */ +extern void oatFreeCallTemps(CompilationUnit* cUnit) +{ + //TODO: Arm specific - move to target dependent code + oatFreeTemp(cUnit, r0); + oatFreeTemp(cUnit, r1); + oatFreeTemp(cUnit, r2); + oatFreeTemp(cUnit, r3); +} + // Make sure nothing is live and dirty static void flushAllRegsBody(CompilationUnit* cUnit, RegisterInfo* info, int numRegs) |