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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 V(JSTypeOf) | 104 V(JSTypeOf) |
105 | 105 |
106 #define JS_SIMPLE_UNOP_LIST(V) \ | 106 #define JS_SIMPLE_UNOP_LIST(V) \ |
107 JS_LOGIC_UNOP_LIST(V) \ | 107 JS_LOGIC_UNOP_LIST(V) \ |
108 JS_CONVERSION_UNOP_LIST(V) \ | 108 JS_CONVERSION_UNOP_LIST(V) \ |
109 JS_OTHER_UNOP_LIST(V) | 109 JS_OTHER_UNOP_LIST(V) |
110 | 110 |
111 #define JS_OBJECT_OP_LIST(V) \ | 111 #define JS_OBJECT_OP_LIST(V) \ |
112 V(JSCreate) \ | 112 V(JSCreate) \ |
113 V(JSCreateArguments) \ | 113 V(JSCreateArguments) \ |
| 114 V(JSCreateArray) \ |
114 V(JSCreateClosure) \ | 115 V(JSCreateClosure) \ |
115 V(JSCreateLiteralArray) \ | 116 V(JSCreateLiteralArray) \ |
116 V(JSCreateLiteralObject) \ | 117 V(JSCreateLiteralObject) \ |
117 V(JSLoadProperty) \ | 118 V(JSLoadProperty) \ |
118 V(JSLoadNamed) \ | 119 V(JSLoadNamed) \ |
119 V(JSLoadGlobal) \ | 120 V(JSLoadGlobal) \ |
120 V(JSStoreProperty) \ | 121 V(JSStoreProperty) \ |
121 V(JSStoreNamed) \ | 122 V(JSStoreNamed) \ |
122 V(JSStoreGlobal) \ | 123 V(JSStoreGlobal) \ |
123 V(JSDeleteProperty) \ | 124 V(JSDeleteProperty) \ |
124 V(JSHasProperty) \ | 125 V(JSHasProperty) \ |
125 V(JSInstanceOf) | 126 V(JSInstanceOf) |
126 | 127 |
127 #define JS_CONTEXT_OP_LIST(V) \ | 128 #define JS_CONTEXT_OP_LIST(V) \ |
128 V(JSLoadContext) \ | 129 V(JSLoadContext) \ |
129 V(JSStoreContext) \ | 130 V(JSStoreContext) \ |
130 V(JSLoadDynamic) \ | 131 V(JSLoadDynamic) \ |
| 132 V(JSLoadNativeContext) \ |
131 V(JSCreateFunctionContext) \ | 133 V(JSCreateFunctionContext) \ |
132 V(JSCreateCatchContext) \ | 134 V(JSCreateCatchContext) \ |
133 V(JSCreateWithContext) \ | 135 V(JSCreateWithContext) \ |
134 V(JSCreateBlockContext) \ | 136 V(JSCreateBlockContext) \ |
135 V(JSCreateModuleContext) \ | 137 V(JSCreateModuleContext) \ |
136 V(JSCreateScriptContext) | 138 V(JSCreateScriptContext) |
137 | 139 |
138 #define JS_OTHER_OP_LIST(V) \ | 140 #define JS_OTHER_OP_LIST(V) \ |
139 V(JSCallConstruct) \ | 141 V(JSCallConstruct) \ |
140 V(JSCallFunction) \ | 142 V(JSCallFunction) \ |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 } | 394 } |
393 }; | 395 }; |
394 | 396 |
395 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 397 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
396 | 398 |
397 } // namespace compiler | 399 } // namespace compiler |
398 } // namespace internal | 400 } // namespace internal |
399 } // namespace v8 | 401 } // namespace v8 |
400 | 402 |
401 #endif // V8_COMPILER_OPCODES_H_ | 403 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |