Author: [EMAIL PROTECTED]
Date: Tue Oct 28 07:54:52 2008
New Revision: 626
Modified:
branches/bleeding_edge/src/runtime.cc
Log:
Fix lint issues.
[EMAIL PROTECTED]
Review URL: http://codereview.chromium.org/8659
Modified: branches/bleeding_edge/src/runtime.cc
==============================================================================
--- branches/bleeding_edge/src/runtime.cc (original)
+++ branches/bleeding_edge/src/runtime.cc Tue Oct 28 07:54:52 2008
@@ -4085,7 +4085,7 @@
* 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<JSArray> array,
@@ -4101,7 +4101,7 @@
// 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<Object>(obj->GetPrototype());
}
@@ -4113,7 +4113,7 @@
IterateElements(Handle<JSObject>::cast(obj), range, visitor);
}
- return nof_elements;
+ return nof_elements;
}
@@ -4151,7 +4151,7 @@
visitor->increase_index_offset(1);
}
visited_elements++;
- }
+ }
}
return visited_elements;
}
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---