OSDN Git Service

Remove the `CanTriggerGC` side-effects on a few instructions.
authorAlexandre Rames <alexandre.rames@linaro.org>
Mon, 19 Sep 2016 12:54:30 +0000 (13:54 +0100)
committerAlexandre Rames <alexandre.rames@linaro.org>
Mon, 19 Sep 2016 12:54:30 +0000 (13:54 +0100)
commit91a6516103b8bf8bb75c3a2840cbdec7521e74a7
treed93043f578bfa5b8d76e8c175e6441b378c4a7b2
parent6a4abc633fa8580b06056ec6f80ced8ce7511277
Remove the `CanTriggerGC` side-effects on a few instructions.

The side-effect was specified for these instructions as they call
runtime. We now have a list of entrypoints that we know cannot trigger
GC. We can avoid requiring the side-effect for those.

Test: Run ART test suite on Nexus 5X and host.

Change-Id: I0e0e6a4d701ce6c75aff486cb0d1bc7fe2e8dda4
14 files changed:
compiler/optimizing/code_generator.cc
compiler/optimizing/code_generator.h
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_arm64.cc
compiler/optimizing/code_generator_mips.cc
compiler/optimizing/code_generator_mips64.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
compiler/optimizing/instruction_simplifier_shared.cc
compiler/optimizing/nodes.h
compiler/optimizing/nodes_shared.h
runtime/entrypoints/quick/quick_entrypoints_enum.cc
runtime/entrypoints/quick/quick_entrypoints_enum.h
test/527-checker-array-access-split/src/Main.java