aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenCommon.cpp
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2011-04-07 15:22:06 -0700
committerbuzbee <buzbee@google.com>2011-04-08 17:39:45 -0700
commite3c0b54b3f653eb9000116ec1fa18349e0f1ed9c (patch)
treef3c8f89266773c5705a46235027659a6eba17864 /vm/compiler/codegen/arm/CodegenCommon.cpp
parentf1b531793e65fda22818d8dca8b17f94f618ad64 (diff)
[JIT] Fix volatile test
On SMP systems, Dalvik opcodes referencing volatile fields will be rewritten to their _VOLATILE variant. On non-SMP systems, though, this rewriting is not done. The JIT, however, needs to know about volatility for all systems in order to avoid performing unsafe optimizations. This change fixes the JIT's volatility test to be either _VOLATILE opcode or the volatile flag in the field access bits depending on SMP type. Change-Id: I2edde58dc25f22cba88f62c5f1a2d125473309e6
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenCommon.cpp')
0 files changed, 0 insertions, 0 deletions