Index: src/compiler/ast-graph-builder.h |
diff --git a/src/compiler/ast-graph-builder.h b/src/compiler/ast-graph-builder.h |
index 967b24bda13d32f33101068e2a2429fdd775b89c..3e4bb8cd11798cf091d6b813b44b1c1295592502 100644 |
--- a/src/compiler/ast-graph-builder.h |
+++ b/src/compiler/ast-graph-builder.h |
@@ -82,7 +82,8 @@ class AstGraphBuilder : public StructuredGraphBuilder, public AstVisitor { |
BailoutId bailout_id); |
Node* BuildVariableDelete(Variable* var, BailoutId bailout_id, |
OutputFrameStateCombine state_combine); |
- Node* BuildVariableLoad(Variable* var, BailoutId bailout_id, |
+ Node* BuildVariableLoad(Variable* proxy, BailoutId bailout_id, |
+ const VectorSlotPair& feedback, |
ContextualMode mode = CONTEXTUAL); |
// Builders for accessing the function context. |
@@ -143,6 +144,9 @@ class AstGraphBuilder : public StructuredGraphBuilder, public AstVisitor { |
// Current scope during visitation. |
inline Scope* current_scope() const; |
+ // Named and keyed loads require a VectorSlotPair for successful lowering. |
+ VectorSlotPair CreateVectorSlotPair(int slot) const; |
+ |
// Process arguments to a call by popping {arity} elements off the operand |
// stack and build a call node using the given call operator. |
Node* ProcessArguments(const Operator* op, int arity); |