Index: test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
index 547910ddc66344c6389360075b07b09d4579bcac..b844180dc09d261e3f8163a072d592995c859f2c 100644 |
--- a/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-iterator-unittest.cc |
@@ -62,7 +62,7 @@ TEST_F(BytecodeArrayIteratorTest, IteratesBytecodeArray) { |
.Return(); |
// Test iterator sees the expected output from the builder. |
- BytecodeArrayIterator iterator(builder.ToBytecodeArray()); |
+ BytecodeArrayIterator iterator(builder.ToBytecodeArray(isolate())); |
const int kPrefixByteSize = 1; |
int offset = 0; |