aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorDan Bornstein <danfuzz@android.com>2009-12-10 14:37:32 -0800
committerDan Bornstein <danfuzz@android.com>2009-12-10 14:37:32 -0800
commitc51439a513d4cc3c2be4a7cce7b3e9ae480fd5c2 (patch)
tree731e3434e45537d2e914f68075a90e1fe29511d3 /vm/compiler/codegen/arm/CodegenDriver.c
parent39c5899d0359c386815f5f72991a3a2573135dbd (diff)
Fix a bug where, in static synchronized methods that had no other uses
of registers (no locals, no parameters, no method calls with arguments), v0 would be used both to hold the object being synchronized on and to hold a caught exception. The result was code that, if an exception was thrown through it, would in turn throw an IllegalMonitorStateException, as the vm would be asked to monitor-exit the exception object and not the monitor-entered class. Dx test 062 has a couple new cases to cover this case as well as the parallel instance method case (not that the latter was problematic, but I like the symmetry).
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions