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 09e4a32be1ddc5da34ccd81a4c4234b16dce8870..a569c9404785a965af2a0ac16c8796f3f895a767 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -138,7 +138,10 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
builder.CountOperation(Token::Value::ADD).CountOperation(Token::Value::SUB); |
// Emit unary operator invocations. |
- builder.LogicalNot().TypeOf(); |
+ builder |
+ .LogicalNot() // ToBooleanLogicalNot |
+ .LogicalNot() // non-ToBoolean LogicalNot |
+ .TypeOf(); |
// Emit delete |
builder.Delete(reg, LanguageMode::SLOPPY).Delete(reg, LanguageMode::STRICT); |