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 84a5b5159ca7baed75a3572281051bdb91e3eb71..6bd2d943ebfa5210cffead9536a5552393ec2a82 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -43,6 +43,12 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
Register reg(0); |
builder.LoadAccumulatorWithRegister(reg).StoreAccumulatorInRegister(reg); |
+ // Emit global load / store operations. |
+ builder.LoadGlobal(0, 1, LanguageMode::SLOPPY) |
+ .LoadGlobal(0, 1, LanguageMode::STRICT) |
+ .StoreGlobal(0, 1, LanguageMode::SLOPPY) |
+ .StoreGlobal(0, 1, LanguageMode::STRICT); |
+ |
// Emit context operations. |
builder.PushContext(reg); |
builder.PopContext(reg); |
@@ -50,13 +56,13 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.StoreContextSlot(reg, 1); |
// Emit load / store property operations. |
- builder.LoadNamedProperty(reg, 0, LanguageMode::SLOPPY) |
+ builder.LoadNamedProperty(reg, 0, 0, LanguageMode::SLOPPY) |
.LoadKeyedProperty(reg, 0, LanguageMode::SLOPPY) |
- .StoreNamedProperty(reg, reg, 0, LanguageMode::SLOPPY) |
+ .StoreNamedProperty(reg, 0, 0, LanguageMode::SLOPPY) |
.StoreKeyedProperty(reg, reg, 0, LanguageMode::SLOPPY) |
- .LoadNamedProperty(reg, 0, LanguageMode::STRICT) |
+ .LoadNamedProperty(reg, 0, 0, LanguageMode::STRICT) |
.LoadKeyedProperty(reg, 0, LanguageMode::STRICT) |
- .StoreNamedProperty(reg, reg, 0, LanguageMode::STRICT) |
+ .StoreNamedProperty(reg, 0, 0, LanguageMode::STRICT) |
.StoreKeyedProperty(reg, reg, 0, LanguageMode::STRICT); |
// Emit closure operations. |