Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index ef419c2611ba5af6387602174aa1a19aea6567db..55a594c5dd6bd148863255bd7bd8d0a83458a8ca 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -138,11 +138,7 @@ void JSGenericLowering::ReplaceWithCompareIC(Node* node, Token::Value token) { |
inputs.push_back(graph()->start()); |
inputs.push_back(graph()->start()); |
} else { |
- DCHECK((OperatorProperties::GetFrameStateInputCount(node->op()) == 1) == |
- FLAG_turbo_deoptimization); |
- if (FLAG_turbo_deoptimization) { |
- inputs.push_back(NodeProperties::GetFrameStateInput(node, 0)); |
- } |
+ inputs.push_back(NodeProperties::GetFrameStateInput(node, 0)); |
inputs.push_back(NodeProperties::GetEffectInput(node)); |
inputs.push_back(NodeProperties::GetControlInput(node)); |
} |