Commit 91dffb0c authored by feng@chromium.org's avatar feng@chromium.org

fix build error in debug mode, TBR=iposva

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@627 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 51058d27
......@@ -4102,7 +4102,7 @@ static uint32_t IterateArrayAndPrototypeElements(Handle<JSArray> array,
// The visitor can simply overwrite the old value by new value using
// the same index. This follows Array::concat semantics.
while (!obj->IsNull()) {
objects.Add(obj);
objects.Add(Handle<JSObject>::cast(obj));
obj = Handle<Object>(obj->GetPrototype());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment