RFR: 8315637: JDK-8314249 broke libgraal
Ioi Lam
iklam at openjdk.org
Wed Sep 6 03:17:03 UTC 2023
Please review this change in JVMCI. The actual functional change is essentially the same as the patch provided by @dougxc in [JDK-8315637](https://bugs.openjdk.org/browse/JDK-8315637) -- convert the `rawIndex` to `cpci` only if the bytecode is INVOKE{VIRTUAL,SPECIAL,STATIC,INTERFACE}.
The rest of the changes is to rename the parameters from `rawIndex` to `which`, so we know the correct type of index is passed. I also added a test case.
(This code should be much simpler after [JDK-8301993](https://bugs.openjdk.org/browse/JDK-8301993) is complete: we won't have `cpci` anymore and all `which` can be replaced with `rawInex`).
-------------
Commit messages:
- fixed white spaces
- 8315637: JDK-8314249 broke libgraal
Changes: https://git.openjdk.org/jdk/pull/15575/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15575&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8315637
Stats: 160 lines in 3 files changed: 110 ins; 25 del; 25 mod
Patch: https://git.openjdk.org/jdk/pull/15575.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15575/head:pull/15575
PR: https://git.openjdk.org/jdk/pull/15575
More information about the hotspot-compiler-dev
mailing list