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

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

Issue 1621673002: [interpreter] Add ReThrow bytecode for try-finally support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_int-6
Patch Set: Rebased. Created 4 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 <iosfwd> 8 #include <iosfwd>
9 9
10 // Clients of this interface shouldn't depend on lots of interpreter internals. 10 // Clients of this interface shouldn't depend on lots of interpreter internals.
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 V(ForInPrepare, OperandType::kRegTriple8) \ 240 V(ForInPrepare, OperandType::kRegTriple8) \
241 V(ForInPrepareWide, OperandType::kRegTriple16) \ 241 V(ForInPrepareWide, OperandType::kRegTriple16) \
242 V(ForInDone, OperandType::kReg8, OperandType::kReg8) \ 242 V(ForInDone, OperandType::kReg8, OperandType::kReg8) \
243 V(ForInNext, OperandType::kReg8, OperandType::kReg8, OperandType::kRegPair8) \ 243 V(ForInNext, OperandType::kReg8, OperandType::kReg8, OperandType::kRegPair8) \
244 V(ForInNextWide, OperandType::kReg16, OperandType::kReg16, \ 244 V(ForInNextWide, OperandType::kReg16, OperandType::kReg16, \
245 OperandType::kRegPair16) \ 245 OperandType::kRegPair16) \
246 V(ForInStep, OperandType::kReg8) \ 246 V(ForInStep, OperandType::kReg8) \
247 \ 247 \
248 /* Non-local flow control */ \ 248 /* Non-local flow control */ \
249 V(Throw, OperandType::kNone) \ 249 V(Throw, OperandType::kNone) \
250 V(ReThrow, OperandType::kNone) \
250 V(Return, OperandType::kNone) 251 V(Return, OperandType::kNone)
251 252
252 253
253 // Enumeration of the size classes of operand types used by bytecodes. 254 // Enumeration of the size classes of operand types used by bytecodes.
254 enum class OperandSize : uint8_t { 255 enum class OperandSize : uint8_t {
255 kNone = 0, 256 kNone = 0,
256 kByte = 1, 257 kByte = 1,
257 kShort = 2, 258 kShort = 2,
258 }; 259 };
259 260
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 440
440 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); 441 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode);
441 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); 442 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type);
442 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type); 443 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_type);
443 444
444 } // namespace interpreter 445 } // namespace interpreter
445 } // namespace internal 446 } // namespace internal
446 } // namespace v8 447 } // namespace v8
447 448
448 #endif // V8_INTERPRETER_BYTECODES_H_ 449 #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