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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/js-create-lowering.h b/deps/v8/src/compiler/js-create-lowering.h
index eea75d3842..d03464d39d 100644
--- a/deps/v8/src/compiler/js-create-lowering.h
+++ b/deps/v8/src/compiler/js-create-lowering.h
@@ -57,8 +57,11 @@ class V8_EXPORT_PRIVATE JSCreateLowering final
Reduction ReduceJSCreateWithContext(Node* node);
Reduction ReduceJSCreateCatchContext(Node* node);
Reduction ReduceJSCreateBlockContext(Node* node);
+ Reduction ReduceJSCreateGeneratorObject(Node* node);
Reduction ReduceNewArray(Node* node, Node* length, int capacity,
Handle<AllocationSite> site);
+ Reduction ReduceNewArray(Node* node, std::vector<Node*> values,
+ Handle<AllocationSite> site);
Node* AllocateArguments(Node* effect, Node* control, Node* frame_state);
Node* AllocateRestArguments(Node* effect, Node* control, Node* frame_state,
@@ -69,6 +72,10 @@ class V8_EXPORT_PRIVATE JSCreateLowering final
Node* AllocateElements(Node* effect, Node* control,
ElementsKind elements_kind, int capacity,
PretenureFlag pretenure);
+ Node* AllocateElements(Node* effect, Node* control,
+ ElementsKind elements_kind,
+ std::vector<Node*> const& values,
+ PretenureFlag pretenure);
Node* AllocateFastLiteral(Node* effect, Node* control,
Handle<JSObject> boilerplate,
AllocationSiteUsageContext* site_context);