From 51058d276fb763b8a1ba1fb7cd932de4bfbab19d Mon Sep 17 00:00:00 2001 From: "kasperl@chromium.org" Date: Tue, 28 Oct 2008 14:54:52 +0000 Subject: [PATCH] Fix lint issues. TBR=feng@chromium.org Review URL: http://codereview.chromium.org/8659 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@626 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/runtime.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/runtime.cc b/src/runtime.cc index 1739b3e8a..7673314e2 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -4085,7 +4085,7 @@ static uint32_t IterateElements(Handle receiver, * Elements on prototypes are visited first, and only elements whose indices * less than Array length are visited. * - * If a ArrayConcatVisitor object is given, the visitor is called with + * If a ArrayConcatVisitor object is given, the visitor is called with * parameters, element's index + visitor_index_offset and the element. */ static uint32_t IterateArrayAndPrototypeElements(Handle array, @@ -4101,7 +4101,7 @@ static uint32_t IterateArrayAndPrototypeElements(Handle array, // the prototype element before the shadowing element. // The visitor can simply overwrite the old value by new value using // the same index. This follows Array::concat semantics. - while(!obj->IsNull()) { + while (!obj->IsNull()) { objects.Add(obj); obj = Handle(obj->GetPrototype()); } @@ -4113,7 +4113,7 @@ static uint32_t IterateArrayAndPrototypeElements(Handle array, IterateElements(Handle::cast(obj), range, visitor); } - return nof_elements; + return nof_elements; } @@ -4151,7 +4151,7 @@ static uint32_t IterateArguments(Handle arguments, visitor->increase_index_offset(1); } visited_elements++; - } + } } return visited_elements; } -- 2.34.1