aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenCommon.c
diff options
context:
space:
mode:
authorBen Cheng <bccheng@android.com>2011-02-18 17:12:42 -0800
committerBen Cheng <bccheng@android.com>2011-03-02 13:45:54 -0800
commit20d7e6c67af128d5bf7cc003564a8122c4101c84 (patch)
tree2c15767179646dd5c24c87c1a8ebfaedd42686c4 /vm/compiler/codegen/arm/CodegenCommon.c
parent131ec9ff58fcc6a7440297e2cbee23df93d2974d (diff)
Handle OP_THROW in the method JIT.
The current implementation is to reconstruct the leaf Dalvik frame and punt to the interpreter, since the amount of work involed to match each catch block and walk through the stack frames is just not worth JIT'ing. Additional changes: - Fixed a control-flow bug where a block that ends with a throw shouldn't have a fall-through block. - Fixed a code cache lookup bug so that method-based compilation is guaranteed a slot in the profiling table. - Created separate handler routines based on opcode format for the method-based JIT. - Renamed a few core registers that also have special meanings to the VM or ARM architecture. Change-Id: I429b3633f281a0e04d352ae17a1c4f4a41bab156
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenCommon.c')
-rw-r--r--vm/compiler/codegen/arm/CodegenCommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/compiler/codegen/arm/CodegenCommon.c b/vm/compiler/codegen/arm/CodegenCommon.c
index 75134bf88..2555a8dbc 100644
--- a/vm/compiler/codegen/arm/CodegenCommon.c
+++ b/vm/compiler/codegen/arm/CodegenCommon.c
@@ -69,7 +69,7 @@ static void setMemRefType(ArmLIR *lir, bool isLoad, int memType)
}
/*
- * Mark load/store instructions that access Dalvik registers through rFP +
+ * Mark load/store instructions that access Dalvik registers through r5FP +
* offset.
*/
static void annotateDalvikRegAccess(ArmLIR *lir, int regId, bool isLoad)