From: feng@chromium.org Date: Tue, 28 Oct 2008 16:27:09 +0000 (+0000) Subject: fix build error in debug mode, TBR=iposva X-Git-Tag: upstream/4.7.83~25093 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=91dffb0c4e797bcbe534b087a20d2e2404c82070;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/runtime.cc b/src/runtime.cc index 7673314..aa3ef89 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -4102,7 +4102,7 @@ static uint32_t IterateArrayAndPrototypeElements(Handle 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::cast(obj)); obj = Handle(obj->GetPrototype()); }