Index: src/interpreter/bytecode-array-builder.h |
diff --git a/src/interpreter/bytecode-array-builder.h b/src/interpreter/bytecode-array-builder.h |
index 5f37c280d453d3d78e834f81c1a2516288c895be..cc5b5e782bd0c2c8a8b6270ce89485bf5e6843e5 100644 |
--- a/src/interpreter/bytecode-array-builder.h |
+++ b/src/interpreter/bytecode-array-builder.h |
@@ -99,6 +99,14 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final |
BytecodeArrayBuilder& StoreContextSlot(Register context, int slot_index, |
int depth); |
+ // Load from a module variable into the accumulator. |depth| is the depth of |
+ // the current context relative to the module context. |
+ BytecodeArrayBuilder& LoadModuleVariable(int cell_index, int depth); |
+ |
+ // Store from the accumulator into a module variable. |depth| is the depth of |
+ // the current context relative to the module context. |
+ BytecodeArrayBuilder& StoreModuleVariable(int cell_index, int depth); |
+ |
// Register-accumulator transfers. |
BytecodeArrayBuilder& LoadAccumulatorWithRegister(Register reg); |
BytecodeArrayBuilder& StoreAccumulatorInRegister(Register reg); |