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 f748480bd9d43b0f0ab6ac5b343308a25662a763..e2ccce260891ad182eef4f319cf7454d94ff5825 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -200,10 +200,12 @@ TEST_F(BytecodeArrayBuilderTest, AllBytecodesGenerated) { |
.BinaryOperation(Token::Value::ADD, reg, Strength::WEAK) |
.JumpIfFalse(&start); |
- // Emit throw in it's own basic block so that the rest of the code isn't |
- // omitted due to being dead. |
+ // 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; |
builder.Jump(&after_throw).Throw().Bind(&after_throw); |
+ BytecodeLabel after_rethrow; |
+ builder.Jump(&after_rethrow).ReThrow().Bind(&after_rethrow); |
builder.ForInPrepare(reg) |
.ForInDone(reg, reg) |