Index: src/compiler/js-typed-lowering.h |
diff --git a/src/compiler/js-typed-lowering.h b/src/compiler/js-typed-lowering.h |
index 855de8aa49242d51da415600f3679b783076fecd..8000a930c291f490d55df84aded23d3d415e7b4c 100644 |
--- a/src/compiler/js-typed-lowering.h |
+++ b/src/compiler/js-typed-lowering.h |
@@ -57,6 +57,8 @@ class JSTypedLowering final : public Reducer { |
Reduction ReduceJSCreateClosure(Node* node); |
Reduction ReduceJSCreateLiteralArray(Node* node); |
Reduction ReduceJSCreateLiteralObject(Node* node); |
+ Reduction ReduceJSCreateWithContext(Node* node); |
+ Reduction ReduceJSCreateBlockContext(Node* node); |
Reduction ReduceNumberBinop(Node* node, const Operator* numberOp); |
Reduction ReduceInt32Binop(Node* node, const Operator* intOp); |
Reduction ReduceUI32Shift(Node* node, Signedness left_signedness, |
@@ -77,6 +79,9 @@ class JSTypedLowering final : public Reducer { |
SimplifiedOperatorBuilder* simplified() { return &simplified_; } |
MachineOperatorBuilder* machine() const; |
+ // Limits up to which context allocations are inlined. |
+ static const int kBlockContextAllocationLimit = 16; |
+ |
JSGraph* jsgraph_; |
SimplifiedOperatorBuilder simplified_; |
ZoneVector<Node*> conversions_; // Cache inserted JSToXXX() conversions. |