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 26 matching lines...) Expand all Loading... |
37 V(Float64Constant) \ | 37 V(Float64Constant) \ |
38 V(ExternalConstant) \ | 38 V(ExternalConstant) \ |
39 V(NumberConstant) \ | 39 V(NumberConstant) \ |
40 V(HeapConstant) | 40 V(HeapConstant) |
41 | 41 |
42 #define INNER_OP_LIST(V) \ | 42 #define INNER_OP_LIST(V) \ |
43 V(Select) \ | 43 V(Select) \ |
44 V(Phi) \ | 44 V(Phi) \ |
45 V(EffectSet) \ | 45 V(EffectSet) \ |
46 V(EffectPhi) \ | 46 V(EffectPhi) \ |
| 47 V(Guard) \ |
47 V(BeginRegion) \ | 48 V(BeginRegion) \ |
48 V(FinishRegion) \ | 49 V(FinishRegion) \ |
49 V(FrameState) \ | 50 V(FrameState) \ |
50 V(StateValues) \ | 51 V(StateValues) \ |
51 V(TypedStateValues) \ | 52 V(TypedStateValues) \ |
52 V(Call) \ | 53 V(Call) \ |
53 V(Parameter) \ | 54 V(Parameter) \ |
54 V(OsrValue) \ | 55 V(OsrValue) \ |
55 V(Projection) | 56 V(Projection) |
56 | 57 |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 V(ChangeFloat64ToTagged) \ | 191 V(ChangeFloat64ToTagged) \ |
191 V(ChangeBoolToBit) \ | 192 V(ChangeBoolToBit) \ |
192 V(ChangeBitToBool) \ | 193 V(ChangeBitToBool) \ |
193 V(Allocate) \ | 194 V(Allocate) \ |
194 V(LoadField) \ | 195 V(LoadField) \ |
195 V(LoadBuffer) \ | 196 V(LoadBuffer) \ |
196 V(LoadElement) \ | 197 V(LoadElement) \ |
197 V(StoreField) \ | 198 V(StoreField) \ |
198 V(StoreBuffer) \ | 199 V(StoreBuffer) \ |
199 V(StoreElement) \ | 200 V(StoreElement) \ |
| 201 V(ObjectIsNumber) \ |
200 V(ObjectIsSmi) | 202 V(ObjectIsSmi) |
201 | 203 |
202 // Opcodes for Machine-level operators. | 204 // Opcodes for Machine-level operators. |
203 #define MACHINE_COMPARE_BINOP_LIST(V) \ | 205 #define MACHINE_COMPARE_BINOP_LIST(V) \ |
204 V(Word32Equal) \ | 206 V(Word32Equal) \ |
205 V(Word64Equal) \ | 207 V(Word64Equal) \ |
206 V(Int32LessThan) \ | 208 V(Int32LessThan) \ |
207 V(Int32LessThanOrEqual) \ | 209 V(Int32LessThanOrEqual) \ |
208 V(Uint32LessThan) \ | 210 V(Uint32LessThan) \ |
209 V(Uint32LessThanOrEqual) \ | 211 V(Uint32LessThanOrEqual) \ |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 } | 374 } |
373 }; | 375 }; |
374 | 376 |
375 std::ostream& operator<<(std::ostream&, IrOpcode::Value); | 377 std::ostream& operator<<(std::ostream&, IrOpcode::Value); |
376 | 378 |
377 } // namespace compiler | 379 } // namespace compiler |
378 } // namespace internal | 380 } // namespace internal |
379 } // namespace v8 | 381 } // namespace v8 |
380 | 382 |
381 #endif // V8_COMPILER_OPCODES_H_ | 383 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |