Index: src/interpreter/bytecode-array-builder.cc |
diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc |
index 0b9ad37ca9a01c276a46d9f72bca843ef3d8110a..0220c2bd7dfc1340a8323cc29147721c27d5a83b 100644 |
--- a/src/interpreter/bytecode-array-builder.cc |
+++ b/src/interpreter/bytecode-array-builder.cc |
@@ -270,16 +270,18 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::StoreGlobal( |
} |
BytecodeArrayBuilder& BytecodeArrayBuilder::LoadContextSlot(Register context, |
- int slot_index) { |
+ int slot_index, |
+ int depth) { |
Output(Bytecode::kLdaContextSlot, RegisterOperand(context), |
- UnsignedOperand(slot_index)); |
+ UnsignedOperand(slot_index), UnsignedOperand(depth)); |
return *this; |
} |
BytecodeArrayBuilder& BytecodeArrayBuilder::StoreContextSlot(Register context, |
- int slot_index) { |
+ int slot_index, |
+ int depth) { |
Output(Bytecode::kStaContextSlot, RegisterOperand(context), |
- UnsignedOperand(slot_index)); |
+ UnsignedOperand(slot_index), UnsignedOperand(depth)); |
return *this; |
} |