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

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

Issue 2622833002: WIP [esnext] implement async iteration proposal (Closed)
Patch Set: simplify AsyncIteratorValueUnwrap Created 3 years, 11 months 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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