cleanup CastNode construction

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 23
    • Affects Version/s: 23
    • Component/s: hotspot
    • b04
    • generic
    • generic

      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.

            Assignee:
            Joshua Cao
            Reporter:
            Joshua Cao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: