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 b42ae52e398df4ae84311fa2ef088549ce495180..0247805ec53a196ea6a24a8289318bb7506ad4c7 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -195,6 +195,9 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.BinaryOperation(Token::Value::ADD, reg, Strength::WEAK) |
.JumpIfFalse(&start); |
+ // Emit stack check bytecode. |
+ builder.StackCheck(); |
+ |
// Emit throw and re-throw in it's own basic block so that the rest of the |
// code isn't omitted due to being dead. |
BytecodeLabel after_throw; |