Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index 52a84edfdabf6e797b3d87cd1b2786eb6bfdd5a2..eac8712cdcf29c878b5eda1735e325664e794321 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->HasFastElements()) { |
+ if (!self->HasFastObjectElements()) { |
return Local<Object>(); |
} |
i::FixedArray* elms = i::FixedArray::cast(self->elements()); |