Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index c398aa30fbbd4142324453e5ee56b1dd2da37aa5..3f78283388c8671048b1e1c60f3ddb7ff007a1e4 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -378,8 +378,7 @@ static bool ArrayPrototypeHasNoElements(Heap* heap, |
array_proto = JSObject::cast(proto); |
if (array_proto != global_context->initial_object_prototype()) return false; |
if (array_proto->elements() != heap->empty_fixed_array()) return false; |
- ASSERT(array_proto->GetPrototype()->IsNull()); |
- return true; |
+ return array_proto->GetPrototype()->IsNull(); |
} |