RFR: JDK-8219486: Missing reg_mask_init() breaks x86_32 build

Roman Kennke rkennke at redhat.com
Wed Feb 20 20:41:44 UTC 2019

JDK-8217909 introduced a method reg_mask_init() which is defined only in
x86_64.ad, and thus breaks build (linkage) on x86_32.

I propose to fix this by enclosing the function declaration and call in
#ifdef _LP64. Alternatively I could add an empty reg_mask_init() to
x86_32.ad, but I don't like empty code very much. We might want to
consider to do the with_rbp/no_rbp stuff in x86_32.ad later though. I
don't have enough time & interest to do it right now.


Testing: built 32bit locally, will push through jdk/submit in a minute



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20190220/7a76fe73/signature.asc>

More information about the hotspot-compiler-dev mailing list