Index: test/unittests/interpreter/bytecodes-unittest.cc |
diff --git a/test/unittests/interpreter/bytecodes-unittest.cc b/test/unittests/interpreter/bytecodes-unittest.cc |
index 729978643fe13ff1b10437667c55407d4fcf44b2..812ee46c9c1b55ff37143b81979cff2ced3de573 100644 |
--- a/test/unittests/interpreter/bytecodes-unittest.cc |
+++ b/test/unittests/interpreter/bytecodes-unittest.cc |
@@ -42,7 +42,7 @@ TEST(OperandConversion, Parameters) { |
TEST(OperandConversion, RegistersParametersNoOverlap) { |
std::vector<uint8_t> operand_count(256); |
- for (int i = 0; i <= Register::kMaxRegisterIndex; i++) { |
+ for (int i = 0; i <= kMaxInt8; i++) { |
Register r = Register(i); |
uint8_t operand = r.ToOperand(); |
operand_count[operand] += 1; |