Index: src/interpreter/bytecodes.cc |
diff --git a/src/interpreter/bytecodes.cc b/src/interpreter/bytecodes.cc |
index 62adec14aa83f066594719affa5f9e0bada54497..3be109f4cbefd6286151d3dbb9a60d857fb96c90 100644 |
--- a/src/interpreter/bytecodes.cc |
+++ b/src/interpreter/bytecodes.cc |
@@ -724,7 +724,7 @@ OperandSize Register::SizeOfOperand() const { |
int32_t operand = ToOperand(); |
if (operand >= kMinInt8 && operand <= kMaxInt8) { |
return OperandSize::kByte; |
- } else if (index_ >= kMinInt16 && index_ <= kMaxInt16) { |
+ } else if (operand >= kMinInt16 && operand <= kMaxInt16) { |
return OperandSize::kShort; |
} else { |
return OperandSize::kQuad; |