Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 851be4923ce54f49041ebbe89983f5dc20a97644..60df598d7057fccb51140969f7255fc65cfdbf28 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -196,9 +196,6 @@ void JSGenericLowering::ReplaceWithCompareIC(Node* node, Token::Value token) { |
// Finally patch the original node to select a boolean. |
NodeProperties::ReplaceUses(node, node, compare, compare, compare); |
- // TODO(mstarzinger): Just a work-around because SelectLowering might |
- // otherwise introduce a Phi without any uses, making Scheduler unhappy. |
- if (node->UseCount() == 0) return; |
node->TrimInputCount(3); |
node->ReplaceInput(0, booleanize); |
node->ReplaceInput(1, true_value); |