diff options
Diffstat (limited to 'deps/v8/test/unittests/interpreter/bytecode-array-iterator-unittest.cc')
-rw-r--r-- | deps/v8/test/unittests/interpreter/bytecode-array-iterator-unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/unittests/interpreter/bytecode-array-iterator-unittest.cc b/deps/v8/test/unittests/interpreter/bytecode-array-iterator-unittest.cc index 0e72e2ec8d..a8907ba62a 100644 --- a/deps/v8/test/unittests/interpreter/bytecode-array-iterator-unittest.cc +++ b/deps/v8/test/unittests/interpreter/bytecode-array-iterator-unittest.cc @@ -2,12 +2,12 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -#include "src/v8.h" +#include "src/init/v8.h" -#include "src/hash-seed-inl.h" #include "src/interpreter/bytecode-array-builder.h" #include "src/interpreter/bytecode-array-iterator.h" -#include "src/objects-inl.h" +#include "src/numbers/hash-seed-inl.h" +#include "src/objects/objects-inl.h" #include "src/objects/smi.h" #include "test/unittests/interpreter/bytecode-utils.h" #include "test/unittests/test-utils.h" @@ -81,7 +81,7 @@ TEST_F(BytecodeArrayIteratorTest, IteratesBytecodeArray) { EXPECT_EQ(iterator.current_bytecode(), Bytecode::kLdaConstant); EXPECT_EQ(iterator.current_offset(), offset); EXPECT_EQ(iterator.current_operand_scale(), OperandScale::kSingle); - EXPECT_EQ(iterator.GetConstantForIndexOperand(0)->Number(), heap_num_0); + EXPECT_EQ(iterator.GetConstantForIndexOperand(0).Number(), heap_num_0); CHECK(!iterator.done()); offset += Bytecodes::Size(Bytecode::kLdaConstant, OperandScale::kSingle); iterator.Advance(); @@ -98,7 +98,7 @@ TEST_F(BytecodeArrayIteratorTest, IteratesBytecodeArray) { EXPECT_EQ(iterator.current_bytecode(), Bytecode::kLdaConstant); EXPECT_EQ(iterator.current_offset(), offset); EXPECT_EQ(iterator.current_operand_scale(), OperandScale::kSingle); - EXPECT_EQ(iterator.GetConstantForIndexOperand(0)->Number(), heap_num_1); + EXPECT_EQ(iterator.GetConstantForIndexOperand(0).Number(), heap_num_1); CHECK(!iterator.done()); offset += Bytecodes::Size(Bytecode::kLdaConstant, OperandScale::kSingle); iterator.Advance(); |