diff options
| author | 2011-08-28 21:15:53 -0700 | |
|---|---|---|
| committer | 2011-08-28 21:39:17 -0700 | |
| commit | e1931749814dbb80c5a756f9842e9c261bb2e8f6 (patch) | |
| tree | 6e0d28df7394cd1921643032ed2030c3e0bc113c /src/compiler/codegen/arm/ArmRallocUtil.cc | |
| parent | 48a35d0cc5cf5dec38808d147862e165e9d67163 (diff) | |
Use slow-path static field accessors; added tests
Modified the compiler to always take the slow path for static
field accesses. Still need to implement the fast path, but this
allows us to test the slow path now.
It's also about time we added command-line (or other) options for
compiler control. We'll want to have a testing option to force slow
paths for testing, and also an option to control the compiler's
debug output (which is starting to get annoying).
Change-Id: I9c1bc6faea0042894270d242366c688f1662842b
Diffstat (limited to 'src/compiler/codegen/arm/ArmRallocUtil.cc')
| -rw-r--r-- | src/compiler/codegen/arm/ArmRallocUtil.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/compiler/codegen/arm/ArmRallocUtil.cc b/src/compiler/codegen/arm/ArmRallocUtil.cc index b2217d0de1..6223512f16 100644 --- a/src/compiler/codegen/arm/ArmRallocUtil.cc +++ b/src/compiler/codegen/arm/ArmRallocUtil.cc @@ -303,16 +303,6 @@ extern void oatClobberCallRegs(CompilationUnit *cUnit) oatClobber(cUnit, r14lr); } -/* Clobber all of the temps that might be used by a handler. */ -extern void oatClobberHandlerRegs(CompilationUnit* cUnit) -{ - //TUNING: reduce the set of regs used by handlers. Only a few need lots. - oatClobberCallRegs(cUnit); - oatClobber(cUnit, r7); - oatClobber(cUnit, r8); - oatClobber(cUnit, r10); -} - extern RegLocation oatGetReturnWide(CompilationUnit* cUnit) { RegLocation res = LOC_C_RETURN_WIDE; |