Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 7116dc9042e06809b4fc40ce5c141655acbe3bd5..c8d4e097a5877d6ea19649f92cd362e6ba1993b2 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -195,6 +195,7 @@ BUILTIN(ArrayCodeGeneric) { |
} |
// 'array' now contains the JSArray we should initialize. |
+ ASSERT(array->HasFastElements()); |
// Optimize the case where there is one argument and the argument is a |
// small smi. |