Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index b3b917b03ab2eafc8bebc5a9d212517b4d250ea9..6c1e9421d5c32fc0fd62497f4a0eb199c533d28c 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -576,6 +576,7 @@ RUNTIME_FUNCTION(Runtime_AppendElement) { |
Handle<Object> result; |
ASSIGN_RETURN_FAILURE_ON_EXCEPTION( |
isolate, result, JSObject::AddDataElement(array, index, value, NONE)); |
+ JSObject::ValidateElements(array); |
return *array; |
} |