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.
```
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.
- relates to
-
JDK-8323820 [MacOS] build failure: non-void function does not return a value
- Resolved
-
JDK-8323012 C2 fails with fatal error: no reachable node should have no use
- Resolved