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 9e329576809834eefb2a0e3d13befc41f8b71e83..4dd6f9a4c33b891003c8e6295d7f03f9af28610d 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -40,8 +40,12 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
Register reg(0); |
builder.LoadAccumulatorWithRegister(reg).StoreAccumulatorInRegister(reg); |
- // Emit global load operations. |
+ // Emit global load / store operations. |
builder.LoadGlobal(1); |
+ builder.StoreGlobal(1, LanguageMode::SLOPPY); |
+ |
+ // Emit context load operations. |
+ builder.LoadContextSlot(reg, 1); |
// Emit load / store property operations. |
builder.LoadNamedProperty(reg, 0, LanguageMode::SLOPPY) |