commit | 3a7d0d8da758471e090f87b32f15ed610cb818f8 | [log] [tgz] |
---|---|---|
author | Mythri Alle <mythria@google.com> | Mon Jan 17 10:39:40 2022 +0000 |
committer | Mythri Alle <mythria@google.com> | Mon Jan 17 15:39:54 2022 +0000 |
tree | 06a1d07805848ce5494b9a4d9fe0341d853ae3d8 | |
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