Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(721)

Side by Side Diff: src/interpreter/bytecodes.h

Issue 2501503005: [Interpreter] Add SetPendingMessage bytecode. (Closed)
Patch Set: cl format Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-generator.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698