diff options
Diffstat (limited to 'deps/v8/test/unittests/interpreter/bytecode-array-builder-unittest.cc')
-rw-r--r-- | deps/v8/test/unittests/interpreter/bytecode-array-builder-unittest.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/v8/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/deps/v8/test/unittests/interpreter/bytecode-array-builder-unittest.cc index afcef22282..1ae636eceb 100644 --- a/deps/v8/test/unittests/interpreter/bytecode-array-builder-unittest.cc +++ b/deps/v8/test/unittests/interpreter/bytecode-array-builder-unittest.cc @@ -630,7 +630,7 @@ TEST_F(BytecodeArrayBuilderTest, ForwardJumps) { iterator.Advance(); CHECK_EQ(iterator.current_bytecode(), Bytecode::kJumpConstant); - CHECK_EQ(*iterator.GetConstantForIndexOperand(0), + CHECK_EQ(iterator.GetConstantForIndexOperand(0), Smi::FromInt(kFarJumpDistance)); iterator.Advance(); @@ -638,7 +638,7 @@ TEST_F(BytecodeArrayBuilderTest, ForwardJumps) { iterator.Advance(); CHECK_EQ(iterator.current_bytecode(), Bytecode::kJumpIfTrueConstant); - CHECK_EQ(*iterator.GetConstantForIndexOperand(0), + CHECK_EQ(iterator.GetConstantForIndexOperand(0), Smi::FromInt(kFarJumpDistance - 5)); iterator.Advance(); @@ -646,7 +646,7 @@ TEST_F(BytecodeArrayBuilderTest, ForwardJumps) { iterator.Advance(); CHECK_EQ(iterator.current_bytecode(), Bytecode::kJumpIfFalseConstant); - CHECK_EQ(*iterator.GetConstantForIndexOperand(0), + CHECK_EQ(iterator.GetConstantForIndexOperand(0), Smi::FromInt(kFarJumpDistance - 10)); iterator.Advance(); @@ -654,7 +654,7 @@ TEST_F(BytecodeArrayBuilderTest, ForwardJumps) { iterator.Advance(); CHECK_EQ(iterator.current_bytecode(), Bytecode::kJumpIfToBooleanTrueConstant); - CHECK_EQ(*iterator.GetConstantForIndexOperand(0), + CHECK_EQ(iterator.GetConstantForIndexOperand(0), Smi::FromInt(kFarJumpDistance - 15)); iterator.Advance(); @@ -663,7 +663,7 @@ TEST_F(BytecodeArrayBuilderTest, ForwardJumps) { CHECK_EQ(iterator.current_bytecode(), Bytecode::kJumpIfToBooleanFalseConstant); - CHECK_EQ(*iterator.GetConstantForIndexOperand(0), + CHECK_EQ(iterator.GetConstantForIndexOperand(0), Smi::FromInt(kFarJumpDistance - 20)); iterator.Advance(); } |