summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2021-03-29 18:11:23 -0700
committerAlex Light <allight@google.com>2021-03-30 18:01:00 +0000
commit7432805b24cb8b6d8c754807143a691dc51adaba (patch)
tree7693475b3520e1673cdba6210e8dc64d2becf1c4 /test/ProfileTestMultiDex
parent1a660c0bd57313bae9cd5632ab4252f417590a96 (diff)
Fix simplifier issue with predicated ifield get
In cases where all targets of a HPredicatedInstanceFieldGet instruction are known to not be null the simplifier would attempt to replace the default value with a null instruction. This would cause a null-pointer dereference. Correct the simplifier to handle this case correctly. Moved some LSE test helper functions to CommonCompilerTestHelper to avoid duplicating code. Fixed an incorrect (though until now unused) constructor for HPredicatatedInstanceFieldGet (the default value and target we swapped). Test: ./test.py --host Test: ./art/tools/compile_jars.py --profile-file bad-compile.txt ~/imgur.apk Bug: 183942773 Change-Id: I66f4ce37d768d5e457047a3f80bd4cb9aa4546a3
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions