[master] RFR: Fix loading Klass* in C1 on AArch64
Andrew Haley
aph at openjdk.java.net
Fri Jan 21 17:54:12 UTC 2022
On Fri, 21 Jan 2022 16:56:02 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> 1. If res is allocated in r0 we don't have a problem at all, and don't need to do anything.
>
> 2. Else, I swap r0 and res. This preserves the original contents of r0 in res, which will be preserved around the call. This frees r0 for use as argument and result register.
Why will res be preserved around the call? That's the part I don't get.
-------------
PR: https://git.openjdk.java.net/lilliput/pull/34
More information about the lilliput-dev
mailing list