| Index: src/interpreter/bytecodes.h
|
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h
|
| index d631bd0e1b130bb3f4f721b3c4e05d58968e20a1..036ae728722958509bba0ee3bf262477dc392a6e 100644
|
| --- a/src/interpreter/bytecodes.h
|
| +++ b/src/interpreter/bytecodes.h
|
| @@ -165,16 +165,18 @@ namespace interpreter {
|
| OperandType::kIdx) \
|
| \
|
| /* Binary operators with immediate operands */ \
|
| - V(AddSmi, AccumulatorUse::kWrite, OperandType::kImm, OperandType::kReg) \
|
| - V(SubSmi, AccumulatorUse::kWrite, OperandType::kImm, OperandType::kReg) \
|
| + V(AddSmi, AccumulatorUse::kWrite, OperandType::kImm, OperandType::kReg, \
|
| + OperandType::kIdx) \
|
| + V(SubSmi, AccumulatorUse::kWrite, OperandType::kImm, OperandType::kReg, \
|
| + OperandType::kIdx) \
|
| V(BitwiseOrSmi, AccumulatorUse::kWrite, OperandType::kImm, \
|
| - OperandType::kReg) \
|
| + OperandType::kReg, OperandType::kIdx) \
|
| V(BitwiseAndSmi, AccumulatorUse::kWrite, OperandType::kImm, \
|
| - OperandType::kReg) \
|
| + OperandType::kReg, OperandType::kIdx) \
|
| V(ShiftLeftSmi, AccumulatorUse::kWrite, OperandType::kImm, \
|
| - OperandType::kReg) \
|
| + OperandType::kReg, OperandType::kIdx) \
|
| V(ShiftRightSmi, AccumulatorUse::kWrite, OperandType::kImm, \
|
| - OperandType::kReg) \
|
| + OperandType::kReg, OperandType::kIdx) \
|
| \
|
| /* Unary Operators */ \
|
| V(Inc, AccumulatorUse::kReadWrite, OperandType::kIdx) \
|
|
|