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

Unified Diff: src/compiler/code-generator.cc

Issue 2803853005: Inline Array.prototype.forEach in TurboFan (Closed)
Patch Set: Remove stray changes 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
Index: src/compiler/code-generator.cc
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
index 63de161cc254e5002725c8332bda9463229bd554..ff3a37438f8515c4f7b2f5c0f1d66fb4dce1a470 100644
--- a/src/compiler/code-generator.cc
+++ b/src/compiler/code-generator.cc
@@ -7,6 +7,7 @@
#include "src/address-map.h"
#include "src/assembler-inl.h"
#include "src/base/adapters.h"
+#include "src/callable.h"
Michael Starzinger 2017/06/06 14:32:54 nit: Looks like a left-over, shouldn't be needed.
danno 2017/06/07 09:00:56 Done.
#include "src/compilation-info.h"
#include "src/compiler/code-generator-impl.h"
#include "src/compiler/linkage.h"
@@ -813,6 +814,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;

Powered by Google App Engine
This is Rietveld 408576698