Index: src/runtime.cc |
=================================================================== |
--- src/runtime.cc (revision 228) |
+++ src/runtime.cc (working copy) |
@@ -3450,7 +3450,7 @@ |
ASSERT(args.length() == 2); |
CONVERT_CHECKED(JSArray, array, args[0]); |
CONVERT_CHECKED(JSArray, element, args[1]); |
- CHECK(array->HasFastElements()); |
+ RUNTIME_ASSERT(array->HasFastElements()); |
int length = Smi::cast(array->length())->value(); |
FixedArray* elements = FixedArray::cast(array->elements()); |
for (int i = 0; i < length; i++) { |