Index: src/ic.cc |
diff --git a/src/ic.cc b/src/ic.cc |
index 2d666d6e8b17c00013484d39613479c41b36144b..dfbbb9152996b86426158b6a33e94a404be2f8bf 100644 |
--- a/src/ic.cc |
+++ b/src/ic.cc |
@@ -1405,7 +1405,7 @@ MaybeObject* StoreIC::Store(State state, |
uint32_t index; |
if (name->AsArrayIndex(&index)) { |
HandleScope scope; |
- Handle<Object> result = SetElement(receiver, index, value); |
+ Handle<Object> result = SetElement(receiver, index, value, strict_mode); |
if (result.is_null()) return Failure::Exception(); |
return *value; |
} |
@@ -1631,7 +1631,7 @@ MaybeObject* KeyedStoreIC::Store(State state, |
uint32_t index; |
if (name->AsArrayIndex(&index)) { |
HandleScope scope; |
- Handle<Object> result = SetElement(receiver, index, value); |
+ Handle<Object> result = SetElement(receiver, index, value, strict_mode); |
if (result.is_null()) return Failure::Exception(); |
return *value; |
} |