From 40d6cbca8908129fd93c62d020c9daf229715a55 Mon Sep 17 00:00:00 2001 From: "lrn@chromium.org" Date: Thu, 7 Jan 2010 14:04:56 +0000 Subject: [PATCH] Forgot patch to make it compiler on Linux. Review URL: http://codereview.chromium.org/525087 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3562 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runtime.cc b/src/runtime.cc index b69dca5bd6..c72322ae29 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -5383,7 +5383,7 @@ class ArrayConcatVisitor { uint32_t index_limit, bool fast_elements) : storage_(storage), index_limit_(index_limit), - fast_elements_(fast_elements), index_offset_(0) { } + index_offset_(0), fast_elements_(fast_elements) { } void visit(uint32_t i, Handle elm) { if (i >= index_limit_ - index_offset_) return; @@ -5651,7 +5651,6 @@ static uint32_t IterateArrayAndPrototypeElements(Handle array, */ static uint32_t IterateArguments(Handle arguments, ArrayConcatVisitor* visitor) { - const uint32_t max_length = JSObject::kMaxElementCount; uint32_t visited_elements = 0; uint32_t num_of_args = static_cast(arguments->length()->Number());