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 // Opcodes for control operators. | 8 // Opcodes for control operators. |
9 #define INNER_CONTROL_OP_LIST(V) \ | 9 #define INNER_CONTROL_OP_LIST(V) \ |
10 V(Dead) \ | 10 V(Dead) \ |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 V(StringAdd) \ | 151 V(StringAdd) \ |
152 V(ChangeTaggedToInt32) \ | 152 V(ChangeTaggedToInt32) \ |
153 V(ChangeTaggedToUint32) \ | 153 V(ChangeTaggedToUint32) \ |
154 V(ChangeTaggedToFloat64) \ | 154 V(ChangeTaggedToFloat64) \ |
155 V(ChangeInt32ToTagged) \ | 155 V(ChangeInt32ToTagged) \ |
156 V(ChangeUint32ToTagged) \ | 156 V(ChangeUint32ToTagged) \ |
157 V(ChangeFloat64ToTagged) \ | 157 V(ChangeFloat64ToTagged) \ |
158 V(ChangeBoolToBit) \ | 158 V(ChangeBoolToBit) \ |
159 V(ChangeBitToBool) \ | 159 V(ChangeBitToBool) \ |
160 V(LoadField) \ | 160 V(LoadField) \ |
| 161 V(LoadBuffer) \ |
161 V(LoadElement) \ | 162 V(LoadElement) \ |
162 V(StoreField) \ | 163 V(StoreField) \ |
| 164 V(StoreBuffer) \ |
163 V(StoreElement) \ | 165 V(StoreElement) \ |
164 V(ObjectIsSmi) \ | 166 V(ObjectIsSmi) \ |
165 V(ObjectIsNonNegativeSmi) | 167 V(ObjectIsNonNegativeSmi) |
166 | 168 |
167 // Opcodes for Machine-level operators. | 169 // Opcodes for Machine-level operators. |
168 #define MACHINE_OP_LIST(V) \ | 170 #define MACHINE_OP_LIST(V) \ |
169 V(Load) \ | 171 V(Load) \ |
170 V(Store) \ | 172 V(Store) \ |
171 V(Word32And) \ | 173 V(Word32And) \ |
172 V(Word32Or) \ | 174 V(Word32Or) \ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 V(Float64Div) \ | 227 V(Float64Div) \ |
226 V(Float64Mod) \ | 228 V(Float64Mod) \ |
227 V(Float64Sqrt) \ | 229 V(Float64Sqrt) \ |
228 V(Float64Equal) \ | 230 V(Float64Equal) \ |
229 V(Float64LessThan) \ | 231 V(Float64LessThan) \ |
230 V(Float64LessThanOrEqual) \ | 232 V(Float64LessThanOrEqual) \ |
231 V(Float64Floor) \ | 233 V(Float64Floor) \ |
232 V(Float64Ceil) \ | 234 V(Float64Ceil) \ |
233 V(Float64RoundTruncate) \ | 235 V(Float64RoundTruncate) \ |
234 V(Float64RoundTiesAway) \ | 236 V(Float64RoundTiesAway) \ |
235 V(LoadStackPointer) | 237 V(LoadStackPointer) \ |
| 238 V(CheckedLoad) \ |
| 239 V(CheckedStore) |
236 | 240 |
237 #define VALUE_OP_LIST(V) \ | 241 #define VALUE_OP_LIST(V) \ |
238 COMMON_OP_LIST(V) \ | 242 COMMON_OP_LIST(V) \ |
239 SIMPLIFIED_OP_LIST(V) \ | 243 SIMPLIFIED_OP_LIST(V) \ |
240 MACHINE_OP_LIST(V) \ | 244 MACHINE_OP_LIST(V) \ |
241 JS_OP_LIST(V) | 245 JS_OP_LIST(V) |
242 | 246 |
243 // The combination of all operators at all levels and the common operators. | 247 // The combination of all operators at all levels and the common operators. |
244 #define ALL_OP_LIST(V) \ | 248 #define ALL_OP_LIST(V) \ |
245 CONTROL_OP_LIST(V) \ | 249 CONTROL_OP_LIST(V) \ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 return false; | 333 return false; |
330 } | 334 } |
331 } | 335 } |
332 }; | 336 }; |
333 | 337 |
334 } // namespace compiler | 338 } // namespace compiler |
335 } // namespace internal | 339 } // namespace internal |
336 } // namespace v8 | 340 } // namespace v8 |
337 | 341 |
338 #endif // V8_COMPILER_OPCODES_H_ | 342 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |