summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc')
-rw-r--r--deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc b/deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc
index e4a956a0ce..9f8f2db953 100644
--- a/deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc
+++ b/deps/v8/test/unittests/interpreter/bytecode-array-writer-unittest.cc
@@ -143,8 +143,8 @@ TEST_F(BytecodeArrayWriterUnittest, SimpleExample) {
CHECK_EQ(bytecodes()->at(i), expected_bytes[i]);
}
- Handle<BytecodeArray> bytecode_array = writer()->ToBytecodeArray(
- isolate(), 0, 0, factory()->empty_fixed_array());
+ Handle<BytecodeArray> bytecode_array =
+ writer()->ToBytecodeArray(isolate(), 0, 0, factory()->empty_byte_array());
CHECK_EQ(bytecodes()->size(), arraysize(expected_bytes));
PositionTableEntry expected_positions[] = {
@@ -232,8 +232,8 @@ TEST_F(BytecodeArrayWriterUnittest, ComplexExample) {
static_cast<int>(expected_bytes[i]));
}
- Handle<BytecodeArray> bytecode_array = writer()->ToBytecodeArray(
- isolate(), 0, 0, factory()->empty_fixed_array());
+ Handle<BytecodeArray> bytecode_array =
+ writer()->ToBytecodeArray(isolate(), 0, 0, factory()->empty_byte_array());
SourcePositionTableIterator source_iterator(
bytecode_array->SourcePositionTable());
for (size_t i = 0; i < arraysize(expected_positions); ++i) {
@@ -284,8 +284,8 @@ TEST_F(BytecodeArrayWriterUnittest, ElideNoneffectfulBytecodes) {
static_cast<int>(expected_bytes[i]));
}
- Handle<BytecodeArray> bytecode_array = writer()->ToBytecodeArray(
- isolate(), 0, 0, factory()->empty_fixed_array());
+ Handle<BytecodeArray> bytecode_array =
+ writer()->ToBytecodeArray(isolate(), 0, 0, factory()->empty_byte_array());
SourcePositionTableIterator source_iterator(
bytecode_array->SourcePositionTable());
for (size_t i = 0; i < arraysize(expected_positions); ++i) {
@@ -350,8 +350,8 @@ TEST_F(BytecodeArrayWriterUnittest, DeadcodeElimination) {
static_cast<int>(expected_bytes[i]));
}
- Handle<BytecodeArray> bytecode_array = writer()->ToBytecodeArray(
- isolate(), 0, 0, factory()->empty_fixed_array());
+ Handle<BytecodeArray> bytecode_array =
+ writer()->ToBytecodeArray(isolate(), 0, 0, factory()->empty_byte_array());
SourcePositionTableIterator source_iterator(
bytecode_array->SourcePositionTable());
for (size_t i = 0; i < arraysize(expected_positions); ++i) {