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

Unified Diff: src/compiler/code-generator.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/compiler/frame-states.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/code-generator.cc
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
index 63de161cc254e5002725c8332bda9463229bd554..12e493d3fc0954659cdda33673f25aabafa1b010 100644
--- a/src/compiler/code-generator.cc
+++ b/src/compiler/code-generator.cc
@@ -813,6 +813,22 @@ void CodeGenerator::BuildTranslationForFrameStateDescriptor(
descriptor->bailout_id(), shared_info_id,
static_cast<unsigned int>(descriptor->parameters_count()));
break;
+ case FrameStateType::kBuiltinContinuation: {
+ BailoutId bailout_id = descriptor->bailout_id();
+ int parameter_count =
+ static_cast<unsigned int>(descriptor->parameters_count());
+ translation->BeginBuiltinContinuationFrame(bailout_id, shared_info_id,
+ parameter_count);
+ break;
+ }
+ case FrameStateType::kJavaScriptBuiltinContinuation: {
+ BailoutId bailout_id = descriptor->bailout_id();
+ int parameter_count =
+ static_cast<unsigned int>(descriptor->parameters_count());
+ translation->BeginJavaScriptBuiltinContinuationFrame(
+ bailout_id, shared_info_id, parameter_count);
+ break;
+ }
case FrameStateType::kGetterStub:
translation->BeginGetterStubFrame(shared_info_id);
break;
« no previous file with comments | « src/builtins/x64/builtins-x64.cc ('k') | src/compiler/frame-states.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698