equal
deleted
inserted
replaced
59 return false; |
59 return false; |
60 } |
60 } |
61 if (!_head->is_Loop()) { |
61 if (!_head->is_Loop()) { |
62 return false; |
62 return false; |
63 } |
63 } |
64 uint nodes_left = MaxNodeLimit - phase->C->live_nodes(); |
64 int nodes_left = phase->C->max_node_limit() - phase->C->live_nodes(); |
65 if (2 * _body.size() > nodes_left) { |
65 if ((int)(2 * _body.size()) > nodes_left) { |
66 return false; // Too speculative if running low on nodes. |
66 return false; // Too speculative if running low on nodes. |
67 } |
67 } |
68 LoopNode* head = _head->as_Loop(); |
68 LoopNode* head = _head->as_Loop(); |
69 if (head->unswitch_count() + 1 > head->unswitch_max()) { |
69 if (head->unswitch_count() + 1 > head->unswitch_max()) { |
70 return false; |
70 return false; |