[lworld] RFR: 8257579: [lworld] C2 compilation fails because ret_addr_offset() is not within emitted code

Tobias Hartmann thartmann at openjdk.java.net
Tue Dec 8 13:55:29 UTC 2020


`PhaseMacroExpand::expand_mh_intrinsic_return` emits a `CallLeafNoFPNode` with `_enty_point == NULL` which is mapped to an indirect call. The instruction size in `MachCallRuntimeNode::ret_addr_offset` needs to be adjusted accordingly.

Thanks,
Tobias

-------------

Commit messages:
 - 8257579: [lworld] C2 compilation fails because ret_addr_offset() is not within emitted code

Changes: https://git.openjdk.java.net/valhalla/pull/298/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=298&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257579
  Stats: 7 lines in 2 files changed: 5 ins; 2 del; 0 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/298.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/298/head:pull/298

PR: https://git.openjdk.java.net/valhalla/pull/298


More information about the valhalla-dev mailing list