summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator_mips.h
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2017-03-07 16:50:01 +0000
committerRoland Levillain <rpl@google.com>2017-05-05 16:08:50 +0100
commitff48700df9da9aa0c6a8c1f65c9d862f936e1a89 (patch)
tree932dd5749a82d9477d24200db6d747d6008a0a5d /compiler/optimizing/code_generator_mips.h
parent15cb9753075bcaa5b91a6497a2d35e8bd98af1f0 (diff)
Improve the implementation of UnsafeCASObject with Baker read barriers.
On ARM and ARM64, avoid loading the reference altogether when the GC is not marking. Also, extract the code logic for updating a reference field from GenerateReferenceLoadWithBakerReadBarrier routines and move it to new routines (UpdateReferenceFieldWithBakerReadBarrier), to make the implementation more legible. Test: Run ART target tests in Baker read barrier configuration. Bug: 29516974 Change-Id: I11c53f0607e997cd02ec7911725e98ef3dc97d90
Diffstat (limited to 'compiler/optimizing/code_generator_mips.h')
0 files changed, 0 insertions, 0 deletions