| 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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 V(JumpIfNull, AccumulatorUse::kRead, OperandType::kImm) \ | 262 V(JumpIfNull, AccumulatorUse::kRead, OperandType::kImm) \ |
| 263 V(JumpIfNullConstant, AccumulatorUse::kRead, OperandType::kIdx) \ | 263 V(JumpIfNullConstant, AccumulatorUse::kRead, OperandType::kIdx) \ |
| 264 V(JumpIfUndefined, AccumulatorUse::kRead, OperandType::kImm) \ | 264 V(JumpIfUndefined, AccumulatorUse::kRead, OperandType::kImm) \ |
| 265 V(JumpIfUndefinedConstant, AccumulatorUse::kRead, OperandType::kIdx) \ | 265 V(JumpIfUndefinedConstant, AccumulatorUse::kRead, OperandType::kIdx) \ |
| 266 V(JumpIfNotHole, AccumulatorUse::kRead, OperandType::kImm) \ | 266 V(JumpIfNotHole, AccumulatorUse::kRead, OperandType::kImm) \ |
| 267 V(JumpIfNotHoleConstant, AccumulatorUse::kRead, OperandType::kIdx) \ | 267 V(JumpIfNotHoleConstant, AccumulatorUse::kRead, OperandType::kIdx) \ |
| 268 \ | 268 \ |
| 269 /* Complex flow control For..in */ \ | 269 /* Complex flow control For..in */ \ |
| 270 V(ForInPrepare, AccumulatorUse::kNone, OperandType::kReg, \ | 270 V(ForInPrepare, AccumulatorUse::kNone, OperandType::kReg, \ |
| 271 OperandType::kRegOutTriple) \ | 271 OperandType::kRegOutTriple) \ |
| 272 V(ForInDone, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg) \ | 272 V(ForInContinue, AccumulatorUse::kWrite, OperandType::kReg, \ |
| 273 OperandType::kReg) \ |
| 273 V(ForInNext, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ | 274 V(ForInNext, AccumulatorUse::kWrite, OperandType::kReg, OperandType::kReg, \ |
| 274 OperandType::kRegPair, OperandType::kIdx) \ | 275 OperandType::kRegPair, OperandType::kIdx) \ |
| 275 V(ForInStep, AccumulatorUse::kWrite, OperandType::kReg) \ | 276 V(ForInStep, AccumulatorUse::kWrite, OperandType::kReg) \ |
| 276 \ | 277 \ |
| 277 /* Perform a stack guard check */ \ | 278 /* Perform a stack guard check */ \ |
| 278 V(StackCheck, AccumulatorUse::kNone) \ | 279 V(StackCheck, AccumulatorUse::kNone) \ |
| 279 \ | 280 \ |
| 280 /* Perform a check to trigger on-stack replacement */ \ | 281 /* Perform a check to trigger on-stack replacement */ \ |
| 281 V(OsrPoll, AccumulatorUse::kNone, OperandType::kImm) \ | 282 V(OsrPoll, AccumulatorUse::kNone, OperandType::kImm) \ |
| 282 \ | 283 \ |
| (...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); | 588 std::ostream& operator<<(std::ostream& os, const AccumulatorUse& use); |
| 588 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); | 589 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale); |
| 589 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); | 590 std::ostream& operator<<(std::ostream& os, const OperandSize& operand_size); |
| 590 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); | 591 std::ostream& operator<<(std::ostream& os, const OperandType& operand_type); |
| 591 | 592 |
| 592 } // namespace interpreter | 593 } // namespace interpreter |
| 593 } // namespace internal | 594 } // namespace internal |
| 594 } // namespace v8 | 595 } // namespace v8 |
| 595 | 596 |
| 596 #endif // V8_INTERPRETER_BYTECODES_H_ | 597 #endif // V8_INTERPRETER_BYTECODES_H_ |
| OLD | NEW |