diff options
author | 2022-01-17 10:39:40 +0000 | |
---|---|---|
committer | 2022-01-17 15:39:54 +0000 | |
commit | 3a7d0d8da758471e090f87b32f15ed610cb818f8 (patch) | |
tree | 06a1d07805848ce5494b9a4d9fe0341d853ae3d8 /runtime/class_linker_test.cc | |
parent | a3759ca5d8fd80cb1cf0856dd128f9a92c4c12f6 (diff) |
Update nterp to advance PC early on branches
Nterp checks if a suspension is required on backward branches. The
PC update was happening after the suspend point. So it appeared as
if we are suspending at the branch instead of at the loop header.
This isn't a correctness issue but updating PC early makes it consistent
with interpreter and JITed code.
Bug: 206029744
Change-Id: Id66706aea59a616220ff254d37aafbeeb188ffed
Diffstat (limited to 'runtime/class_linker_test.cc')
0 files changed, 0 insertions, 0 deletions