| Index: src/api.cc
|
| diff --git a/src/api.cc b/src/api.cc
|
| index 74886f00859b8a467f213d217f658583bc8e6b42..b43aaf3260a6616e6207e574237a01011433ebd8 100644
|
| --- a/src/api.cc
|
| +++ b/src/api.cc
|
| @@ -5040,7 +5040,7 @@ Local<Object> Array::CloneElementAt(uint32_t index) {
|
| i::Isolate* isolate = Utils::OpenHandle(this)->GetIsolate();
|
| ON_BAILOUT(isolate, "v8::Array::CloneElementAt()", return Local<Object>());
|
| i::Handle<i::JSObject> self = Utils::OpenHandle(this);
|
| - if (!self->HasFastObjectElements()) {
|
| + if (!self->HasFastElements()) {
|
| return Local<Object>();
|
| }
|
| i::FixedArray* elms = i::FixedArray::cast(self->elements());
|
|
|