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 16dd47d1d14472edd4056751fb0a178fd703ba98..c35d6a23a513bf003571314deb1f602fe99ff67d 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -41,8 +41,9 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.LoadAccumulatorWithRegister(reg).StoreAccumulatorInRegister(reg); |
// Emit global load / store operations. |
- builder.LoadGlobal(1); |
- builder.StoreGlobal(1, LanguageMode::SLOPPY); |
+ builder.LoadGlobal(1) |
+ .StoreGlobal(1, LanguageMode::SLOPPY) |
+ .StoreGlobal(1, LanguageMode::STRICT); |
// Emit context operations. |
builder.PushContext(reg); |