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 144a92d990d0a681c45f0dac76d99f60457e9fe3..68de073f9ebda1cc34b4f0324f4ee403b565cd1b 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -233,6 +233,12 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.StoreNamedProperty(reg, wide_name, 0, LanguageMode::STRICT) |
.StoreKeyedProperty(reg, reg, 2056, LanguageMode::STRICT); |
+ // Emit wide load / store lookup slots. |
+ builder.LoadLookupSlot(wide_name, TypeofMode::NOT_INSIDE_TYPEOF) |
+ .LoadLookupSlot(wide_name, TypeofMode::INSIDE_TYPEOF) |
+ .StoreLookupSlot(wide_name, LanguageMode::SLOPPY) |
+ .StoreLookupSlot(wide_name, LanguageMode::STRICT); |
+ |
// CreateClosureWide |
Handle<SharedFunctionInfo> shared_info2 = factory->NewSharedFunctionInfo( |
factory->NewStringFromStaticChars("function_b"), MaybeHandle<Code>(), |