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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 #define JS_CONTEXT_OP_LIST(V) \ | 133 #define JS_CONTEXT_OP_LIST(V) \ |
134 V(JSLoadContext) \ | 134 V(JSLoadContext) \ |
135 V(JSStoreContext) \ | 135 V(JSStoreContext) \ |
136 V(JSCreateFunctionContext) \ | 136 V(JSCreateFunctionContext) \ |
137 V(JSCreateCatchContext) \ | 137 V(JSCreateCatchContext) \ |
138 V(JSCreateWithContext) \ | 138 V(JSCreateWithContext) \ |
139 V(JSCreateBlockContext) \ | 139 V(JSCreateBlockContext) \ |
140 V(JSCreateModuleContext) \ | 140 V(JSCreateModuleContext) \ |
141 V(JSCreateScriptContext) | 141 V(JSCreateScriptContext) |
142 | 142 |
143 #define JS_OTHER_OP_LIST(V) \ | 143 #define JS_OTHER_OP_LIST(V) \ |
144 V(JSCallConstruct) \ | 144 V(JSCallConstruct) \ |
145 V(JSCallFunction) \ | 145 V(JSCallFunction) \ |
146 V(JSCallRuntime) \ | 146 V(JSCallRuntime) \ |
147 V(JSConvertReceiver) \ | 147 V(JSConvertReceiver) \ |
148 V(JSForInDone) \ | 148 V(JSForInDone) \ |
149 V(JSForInNext) \ | 149 V(JSForInNext) \ |
150 V(JSForInPrepare) \ | 150 V(JSForInPrepare) \ |
151 V(JSForInStep) \ | 151 V(JSForInStep) \ |
152 V(JSLoadMessage) \ | 152 V(JSLoadMessage) \ |
153 V(JSStoreMessage) \ | 153 V(JSStoreMessage) \ |
| 154 V(JSGeneratorStore) \ |
| 155 V(JSGeneratorRestoreContinuation) \ |
| 156 V(JSGeneratorRestoreRegister) \ |
154 V(JSStackCheck) | 157 V(JSStackCheck) |
155 | 158 |
156 #define JS_OP_LIST(V) \ | 159 #define JS_OP_LIST(V) \ |
157 JS_SIMPLE_BINOP_LIST(V) \ | 160 JS_SIMPLE_BINOP_LIST(V) \ |
158 JS_SIMPLE_UNOP_LIST(V) \ | 161 JS_SIMPLE_UNOP_LIST(V) \ |
159 JS_OBJECT_OP_LIST(V) \ | 162 JS_OBJECT_OP_LIST(V) \ |
160 JS_CONTEXT_OP_LIST(V) \ | 163 JS_CONTEXT_OP_LIST(V) \ |
161 JS_OTHER_OP_LIST(V) | 164 JS_OTHER_OP_LIST(V) |
162 | 165 |
163 // Opcodes for VirtuaMachine-level operators. | 166 // Opcodes for VirtuaMachine-level operators. |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 } | 626 } |
624 }; | 627 }; |
625 | 628 |
626 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 629 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
627 | 630 |
628 } // namespace compiler | 631 } // namespace compiler |
629 } // namespace internal | 632 } // namespace internal |
630 } // namespace v8 | 633 } // namespace v8 |
631 | 634 |
632 #endif // V8_COMPILER_OPCODES_H_ | 635 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |