diff options
| author | buzbee <buzbee@google.com> | 2010-09-02 17:16:24 -0700 |
|---|---|---|
| committer | buzbee <buzbee@google.com> | 2010-09-03 09:17:43 -0700 |
| commit | ddc7d29baa92cb24b7bfa80395479f878109f3f8 (patch) | |
| tree | 2881834abab8aab4d7ef535f6001c4ad82302fda /vm/compiler/codegen/arm/CodegenDriver.c | |
| parent | d7400e0ec701dd481489ad421d55c7cd903f77ee (diff) | |
Correct Volatile SGET/SPUT format tag, add missing cases for JIT
Fix for http://b/issue?id=2971877, which was identified via
debug tracing on http://b/issue?id=2971569. There were a couple
of problems: first, the volatile sget/sput byte codes had the
wrong format tag (22c instead of 21c). Second, the JIT was missing
a couple of case statments to handle these. As far as the JIT goes,
this would not have caused correctness problems, but would have
been slower than necessary.
Change-Id: I57a41c4e063642b0c19acba5bb0855dd8ce2d4ba
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
| -rw-r--r-- | vm/compiler/codegen/arm/CodegenDriver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/compiler/codegen/arm/CodegenDriver.c b/vm/compiler/codegen/arm/CodegenDriver.c index 86c2e29c2..a04371ea1 100644 --- a/vm/compiler/codegen/arm/CodegenDriver.c +++ b/vm/compiler/codegen/arm/CodegenDriver.c @@ -1518,6 +1518,8 @@ static bool handleFmt21c_Fmt31c(CompilationUnit *cUnit, MIR *mir) break; } case OP_SPUT_OBJECT: + case OP_SPUT_OBJECT_VOLATILE: + case OP_SPUT_VOLATILE: case OP_SPUT_BOOLEAN: case OP_SPUT_CHAR: case OP_SPUT_BYTE: |
