Hide internal data structure in PhaseCFG

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • hs25
    • Affects Version/s: None
    • Component/s: 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);

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

                Created:
                Updated:
                Resolved: