diff options
author | Vladimir Marko <vmarko@google.com> | 2018-04-12 10:26:50 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2018-04-12 13:09:38 +0100 |
commit | 7a69505c2f65aef8f016891456c35475f8264d46 (patch) | |
tree | 3926019c2d1407da1ecba7282ede28bb2c430265 /compiler/common_compiler_test.h | |
parent | 6c3533991522d036cbb5a656c44f63bf633a2925 (diff) |
Rewrite null checks in read barrier introspection thunks.
Rely on the implicit null check in the fast path.
Test: Manual; run-test --gdb 160, break in the introspection
entrypoint, find the mf.testField0000 read barrier
code in the caller (this one has a stack map for null
check, most other reads do not need one), break there,
step into the thunk, overwrite the base register with
0 and observe the NPE being thrown. Repeat with --64.
Test: Pixel 2 XL boots.
Test: testrunner.py --target --optimizing
Bug: 36141117
Change-Id: I61f879f22f5697a4108f1021eb0e3add742c8755
Diffstat (limited to 'compiler/common_compiler_test.h')
0 files changed, 0 insertions, 0 deletions