Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index 2c01590d2c0b9e61345bda1b97e7164c112529db..8a93a4f27119a0b396c987f93eb1d733246e6120 100644 |
--- a/src/interpreter/bytecodes.h |
+++ b/src/interpreter/bytecodes.h |
@@ -167,8 +167,8 @@ namespace interpreter { |
/* New operators */ \ |
V(New, AccumulatorUse::kReadWrite, OperandType::kReg, OperandType::kRegList, \ |
OperandType::kRegCount, OperandType::kIdx) \ |
- V(NewWithSpread, AccumulatorUse::kWrite, OperandType::kRegList, \ |
- OperandType::kRegCount) \ |
+ V(NewWithSpread, AccumulatorUse::kReadWrite, OperandType::kReg, \ |
+ OperandType::kRegList, OperandType::kRegCount) \ |
\ |
/* Test Operators */ \ |
V(TestEqual, AccumulatorUse::kReadWrite, OperandType::kReg, \ |