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 d32a75245ebfeacac236073799e0027766d34e4f..6103e5dc78d40e397f6ee2c51f3c78f964b05ba1 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -100,6 +100,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.StoreLookupSlot(name, LanguageMode::SLOPPY) |
.StoreLookupSlot(name, LanguageMode::STRICT); |
+ // Emit load / store lookup slots with context fast paths. |
+ builder.LoadLookupContextSlot(name, TypeofMode::NOT_INSIDE_TYPEOF, 1, 0) |
+ .LoadLookupContextSlot(name, TypeofMode::INSIDE_TYPEOF, 1, 0); |
+ |
// Emit closure operations. |
builder.CreateClosure(0, NOT_TENURED); |