Chromium Code Reviews| 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 <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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 216 OperandType::kIdx) \ | 216 OperandType::kIdx) \ |
| 217 V(ForInStep, OperandType::kReg) \ | 217 V(ForInStep, OperandType::kReg) \ |
| 218 \ | 218 \ |
| 219 /* Perform a stack guard check */ \ | 219 /* Perform a stack guard check */ \ |
| 220 V(StackCheck, OperandType::kNone) \ | 220 V(StackCheck, OperandType::kNone) \ |
| 221 \ | 221 \ |
| 222 /* Non-local flow control */ \ | 222 /* Non-local flow control */ \ |
| 223 V(Throw, OperandType::kNone) \ | 223 V(Throw, OperandType::kNone) \ |
| 224 V(ReThrow, OperandType::kNone) \ | 224 V(ReThrow, OperandType::kNone) \ |
| 225 V(Return, OperandType::kNone) \ | 225 V(Return, OperandType::kNone) \ |
| 226 /* Intrinsics */ \ | |
|
rmcilroy
2016/03/22 10:58:24
nit - newline above (and move near CallRuntime)
epertoso
2016/03/22 11:11:20
Done.
| |
| 227 V(InvokeIntrinsic, OperandType::kRuntimeId, OperandType::kMaybeReg, \ | |
| 228 OperandType::kRegCount) \ | |
| 226 \ | 229 \ |
| 227 /* Debugger */ \ | 230 /* Debugger */ \ |
| 228 V(Debugger, OperandType::kNone) \ | 231 V(Debugger, OperandType::kNone) \ |
| 229 DEBUG_BREAK_BYTECODE_LIST(V) \ | 232 DEBUG_BREAK_BYTECODE_LIST(V) \ |
| 230 \ | 233 \ |
| 231 /* Illegal bytecode (terminates execution) */ \ | 234 /* Illegal bytecode (terminates execution) */ \ |
| 232 V(Illegal, OperandType::kNone) | 235 V(Illegal, OperandType::kNone) |
| 233 | 236 |
| 234 // Enumeration of scaling factors applicable to scalable operands. Code | 237 // Enumeration of scaling factors applicable to scalable operands. Code |
| 235 // relies on being able to cast values to integer scaling values. | 238 // relies on being able to cast values to integer scaling values. |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 518 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); | 521 std::ostream& operator<<(std::ostream& os, const Bytecode& bytecode); |
| 519 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); | 522 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); |
| 520 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); | 523 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); |
| 521 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 524 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 522 | 525 |
| 523 } // namespace interpreter | 526 } // namespace interpreter |
| 524 } // namespace internal | 527 } // namespace internal |
| 525 } // namespace v8 | 528 } // namespace v8 |
| 526 | 529 |
| 527 #endif // V8_INTERPRETER_BYTECODES_H_ | 530 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |