Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8022284

Hide internal data structure in PhaseCFG

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs25
    • None
    • hotspot
    • b46

        The mapping from node to block stored in PhaseCFG is used as this:
        // mapping
        cfg->_bbs.map(node->_idx, block);
        // fetch block
        cfg->_bbs[node->_idx];

        Cleaning this up with public methods:
        // mapping
        cfg->map_node_to_block(node, block);
        // fetch block
        cfg->get_block_for_node(node);

              adlertz Niclas Adlertz (Inactive)
              adlertz Niclas Adlertz (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: