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

Unified Diff: src/runtime.cc

Issue 525087: Forgot patch to make it compiler on Linux. (Closed)
Patch Set: Created 10 years, 11 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
diff --git a/src/runtime.cc b/src/runtime.cc
index b69dca5bd61b97acddaa013225e2d2fb80b9efea..c72322ae2944a05057e225d53ee7cdc46d2bff8e 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<Object> elm) {
if (i >= index_limit_ - index_offset_) return;
@@ -5651,7 +5651,6 @@ static uint32_t IterateArrayAndPrototypeElements(Handle<JSArray> array,
*/
static uint32_t IterateArguments(Handle<JSArray> arguments,
ArrayConcatVisitor* visitor) {
- const uint32_t max_length = JSObject::kMaxElementCount;
uint32_t visited_elements = 0;
uint32_t num_of_args = static_cast<uint32_t>(arguments->length()->Number());
« 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