Author: [EMAIL PROTECTED] Date: Tue Oct 28 09:27:09 2008 New Revision: 627
Modified: branches/bleeding_edge/src/runtime.cc Log: fix build error in debug mode, TBR=iposva Modified: branches/bleeding_edge/src/runtime.cc ============================================================================== --- branches/bleeding_edge/src/runtime.cc (original) +++ branches/bleeding_edge/src/runtime.cc Tue Oct 28 09:27:09 2008 @@ -4102,7 +4102,7 @@ // 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()); } --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---