OSDN Git Service

Correct Volatile SGET/SPUT format tag, add missing cases for JIT
authorbuzbee <buzbee@google.com>
Fri, 3 Sep 2010 00:16:24 +0000 (17:16 -0700)
committerbuzbee <buzbee@google.com>
Fri, 3 Sep 2010 16:17:43 +0000 (09:17 -0700)
commitddc7d29baa92cb24b7bfa80395479f878109f3f8
tree2881834abab8aab4d7ef535f6001c4ad82302fda
parentd7400e0ec701dd481489ad421d55c7cd903f77ee
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
libdex/InstrUtils.c
vm/compiler/codegen/arm/CodegenDriver.c