Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/phaseX.hpp @ 7473:d092d1b31229
8005071: Incremental inlining for JSR 292
Summary: post parse inlining driven by number of live nodes.
Reviewed-by: twisti, kvn, jrose
author | roland |
---|---|
date | Sun, 23 Dec 2012 17:08:22 +0100 |
parents | d804e148cff8 |
children | b2ee5dc63353 |
line wrap: on
line diff
--- a/src/share/vm/opto/phaseX.hpp Fri Dec 21 10:27:49 2012 -0800 +++ b/src/share/vm/opto/phaseX.hpp Sun Dec 23 17:08:22 2012 +0100 @@ -92,6 +92,7 @@ } void remove_useless_nodes(VectorSet &useful); // replace with sentinel + void replace_with(NodeHash* nh); Node *sentinel() { return _sentinel; } @@ -386,6 +387,11 @@ Node *transform( Node *n ); Node *transform_no_reclaim( Node *n ); + void replace_with(PhaseGVN* gvn) { + _table.replace_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);) };