Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/node.cpp @ 23421:c1091733abe6
8011858: Use Compile::live_nodes() instead of Compile::unique() in appropriate places
Reviewed-by: kvn, vlivanov
Contributed-by: vlad.ureche@gmail.com
author | zmajo |
---|---|
date | Wed, 16 Sep 2015 11:09:09 +0200 |
parents | 9e69e8d1c900 |
children | 70649f10b88c 94ec11846b18 |
comparison
equal
deleted
inserted
replaced
23420:c1374141598c | 23421:c1091733abe6 |
---|---|
1747 if (NotANode(s)) return; | 1747 if (NotANode(s)) return; |
1748 | 1748 |
1749 uint depth = (uint)ABS(d); | 1749 uint depth = (uint)ABS(d); |
1750 int direction = d; | 1750 int direction = d; |
1751 Compile* C = Compile::current(); | 1751 Compile* C = Compile::current(); |
1752 GrowableArray <Node *> nstack(C->unique()); | 1752 GrowableArray <Node *> nstack(C->live_nodes()); |
1753 | 1753 |
1754 nstack.append(s); | 1754 nstack.append(s); |
1755 int begin = 0; | 1755 int begin = 0; |
1756 int end = 0; | 1756 int end = 0; |
1757 for(uint i = 0; i < depth; i++) { | 1757 for(uint i = 0; i < depth; i++) { |