| Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| index 301f1b8e17bc62bbbfadce13c2085b2472f4bdf7..6fbf80045f9001b9aa7e003b47aca5138819d74b 100644
|
| --- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| +++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc
|
| @@ -88,6 +88,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
|
| .LoadContextSlot(reg, 1, 0)
|
| .StoreContextSlot(reg, 1, 0);
|
|
|
| + // Emit context operations which operate on the local context.
|
| + builder.LoadContextSlot(Register::current_context(), 1, 0)
|
| + .StoreContextSlot(Register::current_context(), 1, 0);
|
| +
|
| // Emit load / store property operations.
|
| builder.LoadNamedProperty(reg, name, 0)
|
| .LoadKeyedProperty(reg, 0)
|
| @@ -310,6 +314,8 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) {
|
| .StoreAccumulatorInRegister(reg)
|
| .LoadContextSlot(reg, 1, 0)
|
| .StoreAccumulatorInRegister(reg)
|
| + .LoadContextSlot(Register::current_context(), 1, 0)
|
| + .StoreAccumulatorInRegister(reg)
|
| .LoadGlobal(0, TypeofMode::NOT_INSIDE_TYPEOF)
|
| .StoreAccumulatorInRegister(reg)
|
| .LoadUndefined()
|
|
|