diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2020-05-14 14:51:11 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2020-05-14 19:15:01 +0100 |
commit | 33c091eaaa0febedc93cff820def75b122fde867 (patch) | |
tree | cbbe7369f8206af3180a9530bcd1729042cdd544 /compiler/common_compiler_test.cc | |
parent | 5d2311a349f208f056b33da8fc9c950aad1a7ffe (diff) |
Code sinking can move around LoadString that can throw.
The test accidentally used a string part of the boot image, which means
we know the instruction won't throw. However, a change in the boot
classpath meant the string "a" was not part of the boot image anymore,
and the test started failing.
The CL now handles the case the LoadString might throw, and treat it
like NewInstance/NewArray.
Test: 672-checker-throw-method, 673-checker-throw-vmethod
Bug: 156559242
Change-Id: If9df2ed2c7c39c56254970172e315ec5113db64e
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions