Chromium Code Reviews| Index: src/interpreter/bytecodes.h |
| diff --git a/src/interpreter/bytecodes.h b/src/interpreter/bytecodes.h |
| index a6c6d0be34761e9153789e2fb672ff4b322e66cd..ebe5f43443bb4c4ec29133e6699f51d6d01fdbc9 100644 |
| --- a/src/interpreter/bytecodes.h |
| +++ b/src/interpreter/bytecodes.h |
| @@ -316,8 +316,10 @@ namespace interpreter { |
| \ |
| /* Generators */ \ |
| V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg, \ |
| - OperandType::kFlag8) \ |
| + OperandType::kRegList, OperandType::kRegCount, OperandType::kFlag8) \ |
| V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \ |
|
rmcilroy
2017/06/01 10:44:44
nit - move ResumeGenerator first
Jarin
2017/06/01 12:48:22
Done.
|
| + V(RestoreGeneratorRegisters, AccumulatorUse::kWrite, OperandType::kReg, \ |
| + OperandType::kRegOutList, OperandType::kRegCount) \ |
| \ |
| /* Debugger */ \ |
| V(Debugger, AccumulatorUse::kNone) \ |
| @@ -821,6 +823,7 @@ class V8_EXPORT_PRIVATE Bytecodes final { |
| case OperandType::kRegOutTriple: |
| return 3; |
| case OperandType::kRegList: |
| + case OperandType::kRegOutList: |
| UNREACHABLE(); |
| default: |
| return 0; |