Index: src/compiler/js-typed-lowering.cc |
diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc |
index 07f4ddb6a3a5a93cef81a5fff34dd54018badeab..e282da8d170bf4c5aaab9562fe441a29e24548cb 100644 |
--- a/src/compiler/js-typed-lowering.cc |
+++ b/src/compiler/js-typed-lowering.cc |
@@ -1765,14 +1765,6 @@ Reduction JSTypedLowering::ReduceJSCallFunction(Node* node) { |
} |
-Reduction JSTypedLowering::ReduceJSForInDone(Node* node) { |
- DCHECK_EQ(IrOpcode::kJSForInDone, node->opcode()); |
- node->TrimInputCount(2); |
- NodeProperties::ChangeOp(node, machine()->Word32Equal()); |
- return Changed(node); |
-} |
- |
- |
Reduction JSTypedLowering::ReduceJSForInNext(Node* node) { |
DCHECK_EQ(IrOpcode::kJSForInNext, node->opcode()); |
Node* receiver = NodeProperties::GetValueInput(node, 0); |
@@ -1838,14 +1830,6 @@ Reduction JSTypedLowering::ReduceJSForInNext(Node* node) { |
return Changed(node); |
} |
- |
-Reduction JSTypedLowering::ReduceJSForInStep(Node* node) { |
- DCHECK_EQ(IrOpcode::kJSForInStep, node->opcode()); |
- node->ReplaceInput(1, jsgraph()->Int32Constant(1)); |
- NodeProperties::ChangeOp(node, machine()->Int32Add()); |
- return Changed(node); |
-} |
- |
Reduction JSTypedLowering::ReduceJSGeneratorStore(Node* node) { |
DCHECK_EQ(IrOpcode::kJSGeneratorStore, node->opcode()); |
Node* generator = NodeProperties::GetValueInput(node, 0); |
@@ -1986,12 +1970,8 @@ Reduction JSTypedLowering::Reduce(Node* node) { |
return ReduceJSCallConstruct(node); |
case IrOpcode::kJSCallFunction: |
return ReduceJSCallFunction(node); |
- case IrOpcode::kJSForInDone: |
- return ReduceJSForInDone(node); |
case IrOpcode::kJSForInNext: |
return ReduceJSForInNext(node); |
- case IrOpcode::kJSForInStep: |
- return ReduceJSForInStep(node); |
case IrOpcode::kJSGeneratorStore: |
return ReduceJSGeneratorStore(node); |
case IrOpcode::kJSGeneratorRestoreContinuation: |
@@ -2023,10 +2003,6 @@ CommonOperatorBuilder* JSTypedLowering::common() const { |
return jsgraph()->common(); |
} |
-MachineOperatorBuilder* JSTypedLowering::machine() const { |
- return jsgraph()->machine(); |
-} |
- |
SimplifiedOperatorBuilder* JSTypedLowering::simplified() const { |
return jsgraph()->simplified(); |
} |