Index: test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc b/test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc |
index 70c50b5e10f7e5dfb0b4d4044bd8d9d05e349e61..7d139f4b565fb94b669c9b666980c8576db76832 100644 |
--- a/test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc |
@@ -19,11 +19,12 @@ class BytecodePeepholeOptimizerTest : public BytecodePipelineStage, |
public TestWithIsolateAndZone { |
public: |
BytecodePeepholeOptimizerTest() |
- : peephole_optimizer_(this), last_written_(Bytecode::kIllegal) {} |
+ : peephole_optimizer_(this), |
+ last_written_(BytecodeNode::Illegal(BytecodeSourceInfo())) {} |
~BytecodePeepholeOptimizerTest() override {} |
void Reset() { |
- last_written_.set_bytecode(Bytecode::kIllegal); |
+ last_written_ = BytecodeNode::Illegal(BytecodeSourceInfo()); |
write_count_ = 0; |
} |