Index: src/interpreter/bytecodes.h |
diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
index f09af85be40b5cbfcf6011c78f62b667f127efb6..31d08a4a83e3c78e167b999a3b66e444166522ec 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, \ |