Chromium Code Reviews| 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..fbe4655b043489bf02c54bbee0cca17846821ab3 100644 |
| --- a/src/interpreter/bytecode-array-builder.h |
| +++ b/src/interpreter/bytecode-array-builder.h |
| @@ -99,6 +99,10 @@ class V8_EXPORT_PRIVATE BytecodeArrayBuilder final |
| BytecodeArrayBuilder& StoreContextSlot(Register context, int slot_index, |
| int depth); |
| + // Load from/store to the module variable with the given index. |
|
rmcilroy
2016/11/03 13:58:06
nit - load from accumulator / store accumulator to
neis
2016/11/04 10:37:23
It loads from the module variable, not from the ac
|
| + BytecodeArrayBuilder& LoadModuleVariable(int index); |
| + BytecodeArrayBuilder& StoreModuleVariable(int index); |
| + |
| // Register-accumulator transfers. |
| BytecodeArrayBuilder& LoadAccumulatorWithRegister(Register reg); |
| BytecodeArrayBuilder& StoreAccumulatorInRegister(Register reg); |