Index: src/compiler/js-type-feedback.cc |
diff --git a/src/compiler/js-type-feedback.cc b/src/compiler/js-type-feedback.cc |
index 02c9677bec05631d3c90d020218f036828ea4c2f..04861ea53227fbe0328254c22adc70edaef6335d 100644 |
--- a/src/compiler/js-type-feedback.cc |
+++ b/src/compiler/js-type-feedback.cc |
@@ -61,9 +61,6 @@ Reduction JSTypeFeedbackSpecializer::Reduce(Node* node) { |
// StoreProperty(o, "constant", v) => StoreNamed["constant"](o, v). |
Unique<Name> name = match.Value(); |
LanguageMode language_mode = OpParameter<LanguageMode>(node); |
- // StoreProperty has 2 frame state inputs, but StoreNamed only 1. |
- DCHECK_EQ(2, OperatorProperties::GetFrameStateInputCount(node->op())); |
- node->RemoveInput(NodeProperties::FirstFrameStateIndex(node) + 1); |
node->set_op( |
jsgraph()->javascript()->StoreNamed(language_mode, name, KEYED)); |
node->RemoveInput(1); |