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 aa5db2a398a54429fa6111be386777ca7f861a60..e12ebb694f0e2a90c485c9dadeeacd6b46302bdf 100644 |
--- a/src/compiler/js-native-context-specialization.cc |
+++ b/src/compiler/js-native-context-specialization.cc |
@@ -1137,7 +1137,8 @@ JSNativeContextSpecialization::BuildPropertyAccess( |
value = effect = graph()->NewNode(simplified()->LoadField(field_access), |
storage, effect, control); |
} else { |
- DCHECK_EQ(AccessMode::kStore, access_mode); |
+ DCHECK(access_mode == AccessMode::kStore || |
+ access_mode == AccessMode::kStoreInLiteral); |
switch (field_representation) { |
case MachineRepresentation::kFloat64: { |
value = effect = graph()->NewNode(simplified()->CheckNumber(), value, |