Mercurial > hg > graal-compiler
diff src/share/vm/opto/loopUnswitch.cpp @ 7206:d2f8c38e543d
Merge
author | roland |
---|---|
date | Fri, 07 Dec 2012 01:09:03 -0800 |
parents | 2aff40cb4703 |
children | 9e69e8d1c900 |
line wrap: on
line diff
--- a/src/share/vm/opto/loopUnswitch.cpp Fri Nov 30 17:00:32 2012 -0800 +++ b/src/share/vm/opto/loopUnswitch.cpp Fri Dec 07 01:09:03 2012 -0800 @@ -59,7 +59,7 @@ if (!_head->is_Loop()) { return false; } - uint nodes_left = MaxNodeLimit - phase->C->unique(); + uint nodes_left = MaxNodeLimit - phase->C->live_nodes(); if (2 * _body.size() > nodes_left) { return false; // Too speculative if running low on nodes. }