Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/phaseX.cpp @ 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 | 2aff40cb4703 |
children | 8b3da8d14c93 |
line wrap: on
line diff
--- a/src/share/vm/opto/phaseX.cpp Fri Dec 21 10:27:49 2012 -0800 +++ b/src/share/vm/opto/phaseX.cpp Sun Dec 23 17:08:22 2012 +0100 @@ -75,6 +75,13 @@ // nh->_sentinel must be in the current node space } +void NodeHash::replace_with(NodeHash *nh) { + debug_only(_table = (Node**)badAddress); // interact correctly w/ operator= + // just copy in all the fields + *this = *nh; + // nh->_sentinel must be in the current node space +} + //------------------------------hash_find-------------------------------------- // Find in hash table Node *NodeHash::hash_find( const Node *n ) {