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
This commit is contained in:
feng@chromium.org 2008-10-28 16:27:09 +00:00
parent 51058d276f
commit 91dffb0c4e

View File

@ -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());
}