Index: src/runtime/runtime-array.cc |
diff --git a/src/runtime/runtime-array.cc b/src/runtime/runtime-array.cc |
index 3f05540ef80d6d0b47d1139cec9674c24cfcef11..c468673dd5298f472a91d1a89edbdbf7ba4d2877 100644 |
--- a/src/runtime/runtime-array.cc |
+++ b/src/runtime/runtime-array.cc |
@@ -101,7 +101,7 @@ RUNTIME_FUNCTION(Runtime_PushIfAbsent) { |
// Strict not needed. Used for cycle detection in Array join implementation. |
RETURN_FAILURE_ON_EXCEPTION( |
- isolate, JSObject::SetFastElement(array, length, element, SLOPPY, true)); |
+ isolate, JSObject::AddDataElement(array, length, element, NONE)); |
return isolate->heap()->true_value(); |
} |