summaryrefslogtreecommitdiffstats
path: root/vm/compiler/codegen/arm/Thumb2
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2010-12-14 13:16:43 -0800
committerbuzbee <buzbee@google.com>2010-12-14 13:16:43 -0800
commit23d95d0e2d45f5c3434536b3bc20c8b4c3331ed3 (patch)
tree070ce4884bca42e1428e6227b6613e36ece1bcc3 /vm/compiler/codegen/arm/Thumb2
parentbab7a89783d8b04d8e531cc6c750198f44724dc7 (diff)
downloadandroid_dalvik-23d95d0e2d45f5c3434536b3bc20c8b4c3331ed3.tar.gz
android_dalvik-23d95d0e2d45f5c3434536b3bc20c8b4c3331ed3.tar.bz2
android_dalvik-23d95d0e2d45f5c3434536b3bc20c8b4c3331ed3.zip
[JIT] Regalloc cleanup
Remove vestiges of code intended for linear scan register allocation in the trace compiler. New plan is to stick with local allocation for traces and build a new linear scan allocator for the method compiler. Change-Id: Ic265ab5a7936b144cbe7fa4dc667fa7aba579045
Diffstat (limited to 'vm/compiler/codegen/arm/Thumb2')
-rw-r--r--vm/compiler/codegen/arm/Thumb2/Gen.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/vm/compiler/codegen/arm/Thumb2/Gen.c b/vm/compiler/codegen/arm/Thumb2/Gen.c
index 8d12d7767..0891524f7 100644
--- a/vm/compiler/codegen/arm/Thumb2/Gen.c
+++ b/vm/compiler/codegen/arm/Thumb2/Gen.c
@@ -97,14 +97,8 @@ void dvmCompilerInitializeRegAlloc(CompilationUnit *cUnit)
pool->numFPTemps = numFPTemps;
pool->FPTemps = (RegisterInfo *)
dvmCompilerNew(numFPTemps * sizeof(*cUnit->regPool->FPTemps), true);
- pool->numCoreRegs = 0;
- pool->coreRegs = NULL;
- pool->numFPRegs = 0;
- pool->FPRegs = NULL;
dvmCompilerInitPool(pool->coreTemps, coreTemps, pool->numCoreTemps);
dvmCompilerInitPool(pool->FPTemps, fpTemps, pool->numFPTemps);
- dvmCompilerInitPool(pool->coreRegs, NULL, 0);
- dvmCompilerInitPool(pool->FPRegs, NULL, 0);
pool->nullCheckedRegs =
dvmCompilerAllocBitVector(cUnit->numSSARegs, false);
}