summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-create-lowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-create-lowering.h')
-rw-r--r--deps/v8/src/compiler/js-create-lowering.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/js-create-lowering.h b/deps/v8/src/compiler/js-create-lowering.h
index 52e7ec254a..2262e66ef2 100644
--- a/deps/v8/src/compiler/js-create-lowering.h
+++ b/deps/v8/src/compiler/js-create-lowering.h
@@ -45,6 +45,7 @@ class JSCreateLowering final : public AdvancedReducer {
Reduction ReduceJSCreate(Node* node);
Reduction ReduceJSCreateArguments(Node* node);
Reduction ReduceJSCreateArray(Node* node);
+ Reduction ReduceJSCreateClosure(Node* node);
Reduction ReduceJSCreateIterResultObject(Node* node);
Reduction ReduceJSCreateLiteral(Node* node);
Reduction ReduceJSCreateFunctionContext(Node* node);
@@ -71,6 +72,8 @@ class JSCreateLowering final : public AdvancedReducer {
PretenureFlag pretenure,
AllocationSiteUsageContext* site_context);
+ Reduction ReduceNewArrayToStubCall(Node* node, Handle<AllocationSite> site);
+
// Infers the LiteralsArray to use for a given {node}.
MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node);