Index: src/compiler/bytecode-graph-builder.h |
diff --git a/src/compiler/bytecode-graph-builder.h b/src/compiler/bytecode-graph-builder.h |
index 50162ed3e35ae2c482c390ac36988cdc5c4e2291..53582f73d7fbb2d6401f13dd754733b6b38248a9 100644 |
--- a/src/compiler/bytecode-graph-builder.h |
+++ b/src/compiler/bytecode-graph-builder.h |
@@ -124,7 +124,7 @@ class BytecodeGraphBuilder { |
void BuildCreateLiteral(const Operator* op); |
void BuildCreateArguments(CreateArgumentsType type); |
Node* BuildLoadContextSlot(); |
- Node* BuildLoadGlobal(TypeofMode typeof_mode); |
+ Node* BuildLoadGlobal(uint32_t feedback_slot_index, TypeofMode typeof_mode); |
void BuildStoreGlobal(LanguageMode language_mode); |
Node* BuildNamedLoad(); |
void BuildNamedStore(LanguageMode language_mode); |
@@ -145,6 +145,9 @@ class BytecodeGraphBuilder { |
void BuildForInNext(); |
void BuildInvokeIntrinsic(); |
+ // Check the context chain for extensions, for lookup fast paths. |
+ Environment* CheckContextExtensions(uint32_t depth); |
+ |
// Helper function to create binary operation hint from the recorded |
// type feedback. |
BinaryOperationHint GetBinaryOperationHint(int operand_index); |