summaryrefslogtreecommitdiff
path: root/compiler/llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Jeff Hao <jeffhao@google.com> 2013-09-12 17:20:31 -0700
committer Jeff Hao <jeffhao@google.com> 2013-09-12 18:41:02 -0700
commit2de2aa1a96dfa5bebc004f29b5dbfafd37039cee (patch)
tree2be087e31b22a5d03ff6c3513d77464292359f03 /compiler/llvm/compiler_llvm.cc
parentb048dd2b662c19644361f4396a1e8d6213445ee8 (diff)
Make inlined CAS32 loop until store is successful if values match.
The native implementation of compareAndSwap uses android_atomic_cas, which will repeat the strex until it succeeds. The compiled version was changed to do the same. Bug: 10530407 Change-Id: I7efb3f92d0d0610fcc5a885e2c97f1d701b5a4ea
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions