summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator_mips.cc
diff options
context:
space:
mode:
authorMingyao Yang <mingyao@google.com>2017-12-11 15:20:07 -0800
committerMingyao Yang <mingyao@google.com>2017-12-14 12:32:52 -0800
commit217eb067308cf5aa43065377b66acbbee0f5b7c3 (patch)
treed98dad64fcd6efe39d1c984d615e4688dfdc75f8 /compiler/optimizing/code_generator_mips.cc
parent0f13269734be07b5869005952a3cb91b0b34b73d (diff)
Fix the side effects of clinit check
HClinitCheck obviously does reads so it's side effects should include all reads and writes, just like HInvoke. GVN now explicitly allows clinit check to be reused, which would otherwise be disallowed based on the dependency introduced by the new side effects. Also make licm's logic cleaner and treat clinit check as a special case also, otherwise licm can't hoist clinit check due to the dependency introduced by the new side effects also. Test: run-test on host. Change-Id: I16886cfe557803d84d84ce68fbb185ebfc0b84dc
Diffstat (limited to 'compiler/optimizing/code_generator_mips.cc')
0 files changed, 0 insertions, 0 deletions