Index: test/unittests/interpreter/bytecode-array-writer-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-writer-unittest.cc b/test/unittests/interpreter/bytecode-array-writer-unittest.cc |
index f625edfdafd1e1739194ea1515b35b1e65dbe606..90a91cee9fa2a044696f7dadf3df1fa989e1a622 100644 |
--- a/test/unittests/interpreter/bytecode-array-writer-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-writer-unittest.cc |
@@ -60,7 +60,7 @@ class BytecodeArrayWriterUnittest : public TestWithIsolateAndZone { |
void BytecodeArrayWriterUnittest::Write(BytecodeNode* node, |
const BytecodeSourceInfo& info) { |
if (info.is_valid()) { |
- node->source_info().Update(info); |
+ node->source_info().Clone(info); |
} |
writer()->Write(node); |
} |
@@ -104,7 +104,7 @@ void BytecodeArrayWriterUnittest::WriteJump(Bytecode bytecode, |
const BytecodeSourceInfo& info) { |
BytecodeNode node(bytecode, 0); |
if (info.is_valid()) { |
- node.source_info().Update(info); |
+ node.source_info().Clone(info); |
} |
writer()->WriteJump(&node, label); |
} |