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

Unified Diff: src/code-stubs-hydrogen.cc

Issue 1925073002: Revert of [turbofan] Run everything after representation selection concurrently. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/code-stubs.cc ('k') | src/compiler/change-lowering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/code-stubs-hydrogen.cc
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc
index 560e9293c20eae2fb7cfead79418d38ed681cbbc..cb50c79a5700061a33ede87fab13f556d7f557c6 100644
--- a/src/code-stubs-hydrogen.cc
+++ b/src/code-stubs-hydrogen.cc
@@ -1289,6 +1289,16 @@
return DoGenerateCode(this);
}
+template <>
+HValue* CodeStubGraphBuilder<AllocateStub>::BuildCodeStub() {
+ HValue* result =
+ Add<HAllocate>(GetParameter(0), HType::Tagged(),
+ casted_stub()->pretenure_flag(), JS_OBJECT_TYPE);
+ return result;
+}
+
+Handle<Code> AllocateStub::GenerateCode() { return DoGenerateCode(this); }
+
HValue* CodeStubGraphBuilderBase::BuildArrayConstructor(
ElementsKind kind,
AllocationSiteOverrideMode override_mode,
« no previous file with comments | « src/code-stubs.cc ('k') | src/compiler/change-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698