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 f8f599d3f121f59bd3ad87ff404b0f0ed8133b37..4f03c7c7ba1f7686ccf9e07d787948030ad8e440 100644 |
--- a/test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-peephole-optimizer-unittest.cc |
@@ -39,13 +39,14 @@ class BytecodePeepholeOptimizerTest : public BytecodePipelineStage, |
void BindLabel(BytecodeLabel* label) override {} |
void BindLabel(const BytecodeLabel& target, BytecodeLabel* label) override {} |
Handle<BytecodeArray> ToBytecodeArray( |
- int fixed_register_count, int parameter_count, |
+ Isolate* isolate, int fixed_register_count, int parameter_count, |
Handle<FixedArray> handle_table) override { |
return Handle<BytecodeArray>(); |
} |
void Flush() { |
- optimizer()->ToBytecodeArray(0, 0, factory()->empty_fixed_array()); |
+ optimizer()->ToBytecodeArray(isolate(), 0, 0, |
+ factory()->empty_fixed_array()); |
} |
BytecodePeepholeOptimizer* optimizer() { return &peephole_optimizer_; } |