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

Side by Side Diff: src/objects.cc

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Disable new array builtins by default Created 3 years, 6 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 unified diff | Download patch
« no previous file with comments | « src/isolate.cc ('k') | src/utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/objects.h" 5 #include "src/objects.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <iomanip> 8 #include <iomanip>
9 #include <memory> 9 #include <memory>
10 #include <sstream> 10 #include <sstream>
(...skipping 14355 matching lines...) Expand 10 before | Expand all | Expand 10 after
14366 int bailout_id = iterator.Next(); 14366 int bailout_id = iterator.Next();
14367 int shared_info_id = iterator.Next(); 14367 int shared_info_id = iterator.Next();
14368 Object* shared_info = LiteralArray()->get(shared_info_id); 14368 Object* shared_info = LiteralArray()->get(shared_info_id);
14369 unsigned height = iterator.Next(); 14369 unsigned height = iterator.Next();
14370 os << "{bailout_id=" << bailout_id << ", function=" 14370 os << "{bailout_id=" << bailout_id << ", function="
14371 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName()) 14371 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName())
14372 << ", height=" << height << "}"; 14372 << ", height=" << height << "}";
14373 break; 14373 break;
14374 } 14374 }
14375 14375
14376 case Translation::BUILTIN_CONTINUATION_FRAME:
14377 case Translation::JAVA_SCRIPT_BUILTIN_CONTINUATION_FRAME: {
14378 int bailout_id = iterator.Next();
14379 int shared_info_id = iterator.Next();
14380 Object* shared_info = LiteralArray()->get(shared_info_id);
14381 unsigned height = iterator.Next();
14382 os << "{bailout_id=" << bailout_id << ", function="
14383 << Brief(SharedFunctionInfo::cast(shared_info)->DebugName())
14384 << ", height=" << height << "}";
14385 break;
14386 }
14387
14376 case Translation::COMPILED_STUB_FRAME: { 14388 case Translation::COMPILED_STUB_FRAME: {
14377 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next()); 14389 Code::Kind stub_kind = static_cast<Code::Kind>(iterator.Next());
14378 os << "{kind=" << stub_kind << "}"; 14390 os << "{kind=" << stub_kind << "}";
14379 break; 14391 break;
14380 } 14392 }
14381 14393
14382 case Translation::ARGUMENTS_ADAPTOR_FRAME: { 14394 case Translation::ARGUMENTS_ADAPTOR_FRAME: {
14383 int shared_info_id = iterator.Next(); 14395 int shared_info_id = iterator.Next();
14384 Object* shared_info = LiteralArray()->get(shared_info_id); 14396 Object* shared_info = LiteralArray()->get(shared_info_id);
14385 unsigned height = iterator.Next(); 14397 unsigned height = iterator.Next();
(...skipping 6129 matching lines...) Expand 10 before | Expand all | Expand 10 after
20515 // not 20527 // not
20516 // depend on this. 20528 // depend on this.
20517 return DICTIONARY_ELEMENTS; 20529 return DICTIONARY_ELEMENTS;
20518 } 20530 }
20519 DCHECK_LE(kind, LAST_ELEMENTS_KIND); 20531 DCHECK_LE(kind, LAST_ELEMENTS_KIND);
20520 return kind; 20532 return kind;
20521 } 20533 }
20522 } 20534 }
20523 } // namespace internal 20535 } // namespace internal
20524 } // namespace v8 20536 } // namespace v8
OLDNEW
« no previous file with comments | « src/isolate.cc ('k') | src/utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698