Index: src/compiler/js-native-context-specialization.cc |
diff --git a/src/compiler/js-native-context-specialization.cc b/src/compiler/js-native-context-specialization.cc |
index 9936252f45459318690e21112149d4112360c8cc..ed9cf4e41d8ae85f833f3c2a95f85873502a0e95 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -1767,7 +1767,6 @@ JSNativeContextSpecialization::BuildElementAccess( |
effect, control); |
} else { |
// Check that the {index} is in the valid range for the {receiver}. |
- DCHECK_EQ(STANDARD_STORE, store_mode); |
index = effect = graph()->NewNode(simplified()->CheckBounds(), index, |
length, effect, control); |
} |
@@ -1825,7 +1824,6 @@ JSNativeContextSpecialization::BuildElementAccess( |
graph()->NewNode(common()->EffectPhi(2), etrue, efalse, control); |
} else { |
// Perform the actual store |
- DCHECK_EQ(STANDARD_STORE, store_mode); |
effect = graph()->NewNode( |
simplified()->StoreTypedElement(external_array_type), buffer, |
base_pointer, external_pointer, index, value, effect, control); |