Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index e542e4de3f46394a8cfdd6bff9c92a3fb669e7a7..43cf358d4fdeb195699866bef5503d39d8c9191c 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -385,9 +385,6 @@ static bool ArrayPrototypeHasNoElements(Heap* heap, |
// This method depends on non writability of Object and Array prototype |
// fields. |
if (array_proto->elements() != heap->empty_fixed_array()) return false; |
- // Hidden prototype |
- array_proto = JSObject::cast(array_proto->GetPrototype()); |
- ASSERT(array_proto->elements() == heap->empty_fixed_array()); |
// Object.prototype |
Object* proto = array_proto->GetPrototype(); |
if (proto == heap->null_value()) return false; |