Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_COMPILER_OPCODES_H_ | 5 #ifndef V8_COMPILER_OPCODES_H_ |
| 6 #define V8_COMPILER_OPCODES_H_ | 6 #define V8_COMPILER_OPCODES_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 | 9 |
| 10 // Opcodes for control operators. | 10 // Opcodes for control operators. |
| 11 #define CONTROL_OP_LIST(V) \ | 11 #define CONTROL_OP_LIST(V) \ |
| 12 V(Start) \ | 12 V(Start) \ |
| 13 V(Loop) \ | 13 V(Loop) \ |
| 14 V(Branch) \ | 14 V(Branch) \ |
| 15 V(Switch) \ | 15 V(Switch) \ |
| 16 V(IfTrue) \ | 16 V(IfTrue) \ |
| 17 V(IfFalse) \ | 17 V(IfFalse) \ |
| 18 V(IfSuccess) \ | 18 V(IfSuccess) \ |
| 19 V(IfException) \ | 19 V(IfException) \ |
| 20 V(IfValue) \ | 20 V(IfValue) \ |
| 21 V(IfDefault) \ | 21 V(IfDefault) \ |
| 22 V(Merge) \ | 22 V(Merge) \ |
| 23 V(DebugBreak) \ | |
|
Michael Starzinger
2016/05/19 08:42:11
As discussed offline: Could this be turned into a
danno
2016/05/19 08:46:48
Done.
| |
| 23 V(Deoptimize) \ | 24 V(Deoptimize) \ |
| 24 V(DeoptimizeIf) \ | 25 V(DeoptimizeIf) \ |
| 25 V(DeoptimizeUnless) \ | 26 V(DeoptimizeUnless) \ |
| 26 V(Return) \ | 27 V(Return) \ |
| 27 V(TailCall) \ | 28 V(TailCall) \ |
| 28 V(Terminate) \ | 29 V(Terminate) \ |
| 29 V(OsrNormalEntry) \ | 30 V(OsrNormalEntry) \ |
| 30 V(OsrLoopEntry) \ | 31 V(OsrLoopEntry) \ |
| 31 V(Throw) \ | 32 V(Throw) \ |
| 32 V(End) | 33 V(End) |
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 623 } | 624 } |
| 624 }; | 625 }; |
| 625 | 626 |
| 626 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 627 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
| 627 | 628 |
| 628 } // namespace compiler | 629 } // namespace compiler |
| 629 } // namespace internal | 630 } // namespace internal |
| 630 } // namespace v8 | 631 } // namespace v8 |
| 631 | 632 |
| 632 #endif // V8_COMPILER_OPCODES_H_ | 633 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |