RFR: 8322490: CastNode constructors accepts control node as input [v3]

Joshua Cao duke at openjdk.org
Thu Dec 21 09:17:16 UTC 2023


> It is a common pattern to have:
> 
> 
> Node* n = new CastNode(...);
> n->set_req(control_node);
> 
> 
> We can modify the constructor to set the control node. It makes the code a little tidier.
> 
> Passes tier1 locally on my Linux machine

Joshua Cao has updated the pull request incrementally with one additional commit since the last revision:

  Move comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17162/files
  - new: https://git.openjdk.org/jdk/pull/17162/files/d9a40fd7..69c796b6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17162&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17162&range=01-02

  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17162.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17162/head:pull/17162

PR: https://git.openjdk.org/jdk/pull/17162


More information about the hotspot-compiler-dev mailing list