Index: test/unittests/interpreter/bytecode-register-optimizer-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-register-optimizer-unittest.cc b/test/unittests/interpreter/bytecode-register-optimizer-unittest.cc |
index 8d2ad9faf1ff43004ecc7a1f4e19a05a8ee3efc6..795bee822131496da1f954b15f7a8919560bd816 100644 |
--- a/test/unittests/interpreter/bytecode-register-optimizer-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-register-optimizer-unittest.cc |
@@ -75,7 +75,7 @@ TEST_F(BytecodeRegisterOptimizerTest, WriteNop) { |
TEST_F(BytecodeRegisterOptimizerTest, WriteNopExpression) { |
Initialize(1, 1); |
BytecodeNode node(Bytecode::kNop); |
- node.source_info().Update({3, false}); |
+ node.source_info().MakeExpressionPosition(3); |
optimizer()->Write(&node); |
CHECK_EQ(write_count(), 1); |
CHECK_EQ(node, last_written()); |
@@ -84,7 +84,7 @@ TEST_F(BytecodeRegisterOptimizerTest, WriteNopExpression) { |
TEST_F(BytecodeRegisterOptimizerTest, WriteNopStatement) { |
Initialize(1, 1); |
BytecodeNode node(Bytecode::kNop); |
- node.source_info().Update({3, true}); |
+ node.source_info().MakeStatementPosition(3); |
optimizer()->Write(&node); |
CHECK_EQ(write_count(), 1); |
CHECK_EQ(node, last_written()); |