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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 OperandType::kRegOutTriple) \ | 234 OperandType::kRegOutTriple) \ |
235 V(ForInContinue, AccumulatorUse::kWrite, OperandType::kReg, \ | 235 V(ForInContinue, AccumulatorUse::kWrite, OperandType::kReg, \ |
236 OperandType::kReg) \ | 236 OperandType::kReg) \ |
237 V(ForInNext, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ | 237 V(ForInNext, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ |
238 OperandType::kRegPair, OperandType::kIdx) \ | 238 OperandType::kRegPair, OperandType::kIdx) \ |
239 V(ForInStep, AccumulatorUse::kWrite, OperandType::kReg) \ | 239 V(ForInStep, AccumulatorUse::kWrite, OperandType::kReg) \ |
240 \ | 240 \ |
241 /* Perform a stack guard check */ \ | 241 /* Perform a stack guard check */ \ |
242 V(StackCheck, AccumulatorUse::kNone) \ | 242 V(StackCheck, AccumulatorUse::kNone) \ |
243 \ | 243 \ |
| 244 /* Update the pending message */ \ |
| 245 V(SetPendingMessage, AccumulatorUse::kReadWrite) \ |
| 246 \ |
244 /* Non-local flow control */ \ | 247 /* Non-local flow control */ \ |
245 V(Throw, AccumulatorUse::kRead) \ | 248 V(Throw, AccumulatorUse::kRead) \ |
246 V(ReThrow, AccumulatorUse::kRead) \ | 249 V(ReThrow, AccumulatorUse::kRead) \ |
247 V(Return, AccumulatorUse::kRead) \ | 250 V(Return, AccumulatorUse::kRead) \ |
248 \ | 251 \ |
249 /* Generators */ \ | 252 /* Generators */ \ |
250 V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \ | 253 V(SuspendGenerator, AccumulatorUse::kRead, OperandType::kReg) \ |
251 V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \ | 254 V(ResumeGenerator, AccumulatorUse::kWrite, OperandType::kReg) \ |
252 \ | 255 \ |
253 /* Debugger */ \ | 256 /* Debugger */ \ |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 #undef CONSTEXPR | 738 #undef CONSTEXPR |
736 | 739 |
737 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, | 740 V8_EXPORT_PRIVATE std::ostream& operator<<(std::ostream& os, |
738 const Bytecode& bytecode); | 741 const Bytecode& bytecode); |
739 | 742 |
740 } // namespace interpreter | 743 } // namespace interpreter |
741 } // namespace internal | 744 } // namespace internal |
742 } // namespace v8 | 745 } // namespace v8 |
743 | 746 |
744 #endif // V8_INTERPRETER_BYTECODES_H_ | 747 #endif // V8_INTERPRETER_BYTECODES_H_ |
OLD | NEW |