OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_INTERPRETER_BYTECODES_H_ | 5 #ifndef V8_INTERPRETER_BYTECODES_H_ |
6 #define V8_INTERPRETER_BYTECODES_H_ | 6 #define V8_INTERPRETER_BYTECODES_H_ |
7 | 7 |
8 #include <cstdint> | 8 #include <cstdint> |
9 #include <iosfwd> | 9 #include <iosfwd> |
10 #include <string> | 10 #include <string> |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 /* Update the pending message */ \ | 269 /* Update the pending message */ \ |
270 V(SetPendingMessage, AccumulatorUse::kReadWrite) \ | 270 V(SetPendingMessage, AccumulatorUse::kReadWrite) \ |
271 \ | 271 \ |
272 /* Non-local flow control */ \ | 272 /* Non-local flow control */ \ |
273 V(Throw, AccumulatorUse::kRead) \ | 273 V(Throw, AccumulatorUse::kRead) \ |
274 V(ReThrow, AccumulatorUse::kRead) \ | 274 V(ReThrow, AccumulatorUse::kRead) \ |
275 V(Return, AccumulatorUse::kRead) \ | 275 V(Return, AccumulatorUse::kRead) \ |
276 \ | 276 \ |
277 /* Generators */ \ | 277 /* Generators */ \ |
278 V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \ | 278 V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \ |
| 279 V(AwaitGenerator, AccumulatorUse::kRead, OperandType::kReg) \ |
279 V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \ | 280 V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \ |
280 \ | 281 \ |
281 /* Debugger */ \ | 282 /* Debugger */ \ |
282 V(Debugger, AccumulatorUse::kNone) \ | 283 V(Debugger, AccumulatorUse::kNone) \ |
283 \ | 284 \ |
284 /* Debug Breakpoints - one for each possible size of unscaled bytecodes */ \ | 285 /* Debug Breakpoints - one for each possible size of unscaled bytecodes */ \ |
285 /* and one for each operand widening prefix bytecode */ \ | 286 /* and one for each operand widening prefix bytecode */ \ |
286 V(DebugBreak0, AccumulatorUse::kRead) \ | 287 V(DebugBreak0, AccumulatorUse::kRead) \ |
287 V(DebugBreak1, AccumulatorUse::kRead, OperandType::kReg) \ | 288 V(DebugBreak1, AccumulatorUse::kRead, OperandType::kReg) \ |
288 V(DebugBreak2, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg) \ | 289 V(DebugBreak2, AccumulatorUse::kRead, OperandType::kReg, OperandType::kReg) \ |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 }; | 817 }; |
817 | 818 |
818 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 819 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
819 const Bytecode& bytecode); | 820 const Bytecode& bytecode); |
820 | 821 |
821 } // namespace interpreter | 822 } // namespace interpreter |
822 } // namespace internal | 823 } // namespace internal |
823 } // namespace v8 | 824 } // namespace v8 |
824 | 825 |
825 #endif // V8_INTERPRETER_BYTECODES_H_ | 826 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |