commit | fa1550e490c56e07724538c4fbf35f570ed89789 | [log] [tgz] |
---|---|---|
author | Ulya Trafimovich <skvadrik@google.com> | Fri Feb 10 16:02:04 2023 +0000 |
committer | Ulya Trofimovich <skvadrik@google.com> | Tue Feb 21 09:44:00 2023 +0000 |
tree | 89585b3d86c9aea4fe9bc07dd1f3afcea13a99b1 | |
parent | 1905f32aa743fc62f906ff42474a23191df80cdd [diff] |
riscv64: don't save TR on stack, set it in `DoLongJump` instead. TR is the ART thread register, so we know that in `DoLongJump`, which jumps to managed code, we need to restore TR to `Thread::Current()`. Test: lunch aosp_riscv64-userdebug && m dist Change-Id: I2f7fd9be4333f5cbb1745241a61566b6281e9ecb