| 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. |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 V(JSCreateCatchContext) \ | 127 V(JSCreateCatchContext) \ |
| 128 V(JSCreateWithContext) \ | 128 V(JSCreateWithContext) \ |
| 129 V(JSCreateBlockContext) \ | 129 V(JSCreateBlockContext) \ |
| 130 V(JSCreateModuleContext) \ | 130 V(JSCreateModuleContext) \ |
| 131 V(JSCreateScriptContext) | 131 V(JSCreateScriptContext) |
| 132 | 132 |
| 133 #define JS_OTHER_OP_LIST(V) \ | 133 #define JS_OTHER_OP_LIST(V) \ |
| 134 V(JSCallConstruct) \ | 134 V(JSCallConstruct) \ |
| 135 V(JSCallFunction) \ | 135 V(JSCallFunction) \ |
| 136 V(JSCallRuntime) \ | 136 V(JSCallRuntime) \ |
| 137 V(JSForInDone) \ |
| 138 V(JSForInNext) \ |
| 139 V(JSForInPrepare) \ |
| 140 V(JSForInStep) \ |
| 137 V(JSYield) \ | 141 V(JSYield) \ |
| 138 V(JSStackCheck) | 142 V(JSStackCheck) |
| 139 | 143 |
| 140 #define JS_OP_LIST(V) \ | 144 #define JS_OP_LIST(V) \ |
| 141 JS_SIMPLE_BINOP_LIST(V) \ | 145 JS_SIMPLE_BINOP_LIST(V) \ |
| 142 JS_SIMPLE_UNOP_LIST(V) \ | 146 JS_SIMPLE_UNOP_LIST(V) \ |
| 143 JS_OBJECT_OP_LIST(V) \ | 147 JS_OBJECT_OP_LIST(V) \ |
| 144 JS_CONTEXT_OP_LIST(V) \ | 148 JS_CONTEXT_OP_LIST(V) \ |
| 145 JS_OTHER_OP_LIST(V) | 149 JS_OTHER_OP_LIST(V) |
| 146 | 150 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 } | 354 } |
| 351 }; | 355 }; |
| 352 | 356 |
| 353 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 357 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
| 354 | 358 |
| 355 } // namespace compiler | 359 } // namespace compiler |
| 356 } // namespace internal | 360 } // namespace internal |
| 357 } // namespace v8 | 361 } // namespace v8 |
| 358 | 362 |
| 359 #endif // V8_COMPILER_OPCODES_H_ | 363 #endif // V8_COMPILER_OPCODES_H_ |
| OLD | NEW |