Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: src/runtime.cc

Issue 8659: Fix lint issues. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime.cc
===================================================================
--- src/runtime.cc (revision 625)
+++ src/runtime.cc (working copy)
@@ -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;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698