src/share/vm/opto/phaseX.hpp

Print this page
rev 3904 : 8005071: Incremental inlining for JSR 292
Summary: post parse inlining driven by number of live nodes.
Reviewed-by:

*** 90,99 **** --- 90,100 ---- assert(table_index < _max, "Must be within table"); return _table[table_index]; } void remove_useless_nodes(VectorSet &useful); // replace with sentinel + void update_with(NodeHash* nh); Node *sentinel() { return _sentinel; } #ifndef PRODUCT Node *find_index(uint idx); // For debugging
*** 384,393 **** --- 385,399 ---- // Return a node which computes the same function as this node, but // in a faster or cheaper fashion. Node *transform( Node *n ); Node *transform_no_reclaim( Node *n ); + void update_with(PhaseGVN* gvn) { + _table.update_with(&gvn->_table); + _types = gvn->_types; + } + // Check for a simple dead loop when a data node references itself. DEBUG_ONLY(void dead_loop_check(Node *n);) }; //------------------------------PhaseIterGVN-----------------------------------