| Index: src/runtime/runtime-object.cc
|
| diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc
|
| index 6d4bad5c6f889e5f0f833c648a1db335eb10cd0b..7908c6295ce082e5412f16f19d1a57ed2c9ff330 100644
|
| --- a/src/runtime/runtime-object.cc
|
| +++ b/src/runtime/runtime-object.cc
|
| @@ -418,6 +418,7 @@ RUNTIME_FUNCTION(Runtime_AppendElement) {
|
|
|
| CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0);
|
| CONVERT_ARG_HANDLE_CHECKED(Object, value, 1);
|
| + CHECK(!value->IsTheHole(isolate));
|
|
|
| uint32_t index;
|
| CHECK(array->length()->ToArrayIndex(&index));
|
|
|