From 91dffb0c4e797bcbe534b087a20d2e2404c82070 Mon Sep 17 00:00:00 2001 From: "feng@chromium.org" Date: Tue, 28 Oct 2008 16:27:09 +0000 Subject: [PATCH] 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 --- src/runtime.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime.cc b/src/runtime.cc index 7673314e2d..aa3ef89a6f 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()); }