aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.cpp
diff options
context:
space:
mode:
authorbuzbee <buzbee@google.com>2011-04-07 15:22:06 -0700
committerbuzbee <buzbee@google.com>2011-04-08 14:32:00 -0700
commit11fb99d598ebe640719743a0d3bd7ed091e5be03 (patch)
tree346a8b20c664cd0e58eb9ec26c72702a4e3a184e /vm/compiler/codegen/arm/CodegenDriver.cpp
parent9688de1ebc68f4f865a827709298390a72dff698 (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: If485875c5abbf0147c3ef4b6d557faa89ed85426
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.cpp')
0 files changed, 0 insertions, 0 deletions