diff options
| author | Bill Buzbee <buzbee@google.com> | 2010-01-11 21:44:36 -0800 |
|---|---|---|
| committer | Bill Buzbee <buzbee@google.com> | 2010-01-11 21:44:36 -0800 |
| commit | 1f5cd6fc9c6752d2de27234b3e0b691973bbea6a (patch) | |
| tree | 0984e5f38e5e7e5872173cbb2046ddd3791933ec /vm/compiler/codegen/arm/CodegenCommon.c | |
| parent | 2dcda67e90dfb974d02b54d22ca7a34bacbf340f (diff) | |
Fix for 2367397 - Runtime reset with threshold lowered to 20.
This was a bug in the def tracking - or more specifically neglecting to
reset tracking at a possible rollback location.
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenCommon.c')
| -rw-r--r-- | vm/compiler/codegen/arm/CodegenCommon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/compiler/codegen/arm/CodegenCommon.c b/vm/compiler/codegen/arm/CodegenCommon.c index 9d2f78ab2..c3fa8c38b 100644 --- a/vm/compiler/codegen/arm/CodegenCommon.c +++ b/vm/compiler/codegen/arm/CodegenCommon.c @@ -329,6 +329,9 @@ extern ArmLIR *genCheckCommon(CompilationUnit *cUnit, int dOffset, ArmLIR *branch, ArmLIR *pcrLabel) { + /* Forget all def info (because we might rollback here. Bug #2367397 */ + resetDefTracking(cUnit); + /* Set up the place holder to reconstruct this Dalvik PC */ if (pcrLabel == NULL) { int dPC = (int) (cUnit->method->insns + dOffset); |
