Index: test/unittests/interpreter/bytecode-array-builder-unittest.cc |
diff --git a/test/unittests/interpreter/bytecode-array-builder-unittest.cc b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
index 255d836af535844fd1794505582fffd3d22cf0e8..bcd7710cda266242596ef94072a566c0fc8b5273 100644 |
--- a/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
+++ b/test/unittests/interpreter/bytecode-array-builder-unittest.cc |
@@ -364,14 +364,11 @@ TEST_F(BytecodeArrayBuilderTest, FrameSizesLookGood) { |
TEST_F(BytecodeArrayBuilderTest, RegisterValues) { |
int index = 1; |
- int32_t operand = -index; |
Register the_register(index); |
CHECK_EQ(the_register.index(), index); |
int actual_operand = the_register.ToOperand(); |
- CHECK_EQ(actual_operand, operand); |
- |
int actual_index = Register::FromOperand(actual_operand).index(); |
CHECK_EQ(actual_index, index); |
} |