Revision: 9996 Author: [email protected] Date: Tue Nov 15 04:34:55 2011 Log: Fix test failures introduced by last revision.
[email protected] TEST=mjsunit/array-elements-from-array-prototype-chain Review URL: http://codereview.chromium.org/8572004 http://code.google.com/p/v8/source/detail?r=9996 Modified: /branches/bleeding_edge/src/builtins.cc ======================================= --- /branches/bleeding_edge/src/builtins.cc Fri Nov 11 06:49:16 2011 +++ /branches/bleeding_edge/src/builtins.cc Tue Nov 15 04:34:55 2011 @@ -385,9 +385,6 @@ // 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; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
