Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 4ad6c2117c68b581f5dbdf2f296f0644c47774d3..a68a15ad5d45cefaf2662ac829bec44fa21834df 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -527,7 +527,7 @@ BUILTIN(ArraySlice) { |
if (actual_end <= actual_start) { |
Handle<JSArray> result_array = |
- isolate->factory()->NewJSArray(GetInitialFastElementsKind(), 0, 0); |
+ isolate->factory()->NewJSArray(object->GetElementsKind(), 0, 0); |
return *result_array; |
} |