RFR: 8350194: Last 2 parameters of ReturnNode::ReturnNode are swapped in the declaration
Manuel Hässig
duke at openjdk.org
Fri Mar 7 17:57:05 UTC 2025
The last two parameters in the declaration of ReturnNode::ReturnNode, `frameptr` and `retadr` were swapped in the declaration compared to the definition. This commit makes the declaration consistent with the definition and the two usages in [`GraphKit::gen_stub()`](https://github.com/openjdk/jdk/blob/5c552a9d64c8116161cb9ef4c777e75a2602a75b/src/hotspot/share/opto/generateOptoStub.cpp#L267) and [`Compile::return_values()`](https://github.com/openjdk/jdk/blob/5c552a9d64c8116161cb9ef4c777e75a2602a75b/src/hotspot/share/opto/parse1.cpp#L879).
Tests: tiers 1 through 3 passed.
-------------
Commit messages:
- Fix formatting
- opto/callnode: fix parameter order of ReturnNode::ReturnNode
Changes: https://git.openjdk.org/jdk/pull/23927/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23927&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8350194
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23927.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23927/head:pull/23927
PR: https://git.openjdk.org/jdk/pull/23927
More information about the hotspot-compiler-dev
mailing list