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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 V(JSYield) \ | 123 V(JSYield) \ |
124 V(JSDebugger) | 124 V(JSDebugger) |
125 | 125 |
126 #define JS_OP_LIST(V) \ | 126 #define JS_OP_LIST(V) \ |
127 JS_SIMPLE_BINOP_LIST(V) \ | 127 JS_SIMPLE_BINOP_LIST(V) \ |
128 JS_SIMPLE_UNOP_LIST(V) \ | 128 JS_SIMPLE_UNOP_LIST(V) \ |
129 JS_OBJECT_OP_LIST(V) \ | 129 JS_OBJECT_OP_LIST(V) \ |
130 JS_CONTEXT_OP_LIST(V) \ | 130 JS_CONTEXT_OP_LIST(V) \ |
131 JS_OTHER_OP_LIST(V) | 131 JS_OTHER_OP_LIST(V) |
132 | 132 |
133 // Opcodes for VirtuaMachine-level operators. | 133 // Opcodes for VirtualMachine-level operators. |
134 #define SIMPLIFIED_OP_LIST(V) \ | 134 #define SIMPLIFIED_OP_LIST(V) \ |
135 V(AnyToBoolean) \ | 135 V(AnyToBoolean) \ |
136 V(BooleanNot) \ | 136 V(BooleanNot) \ |
137 V(BooleanToNumber) \ | 137 V(BooleanToNumber) \ |
138 V(NumberEqual) \ | 138 V(NumberEqual) \ |
139 V(NumberLessThan) \ | 139 V(NumberLessThan) \ |
140 V(NumberLessThanOrEqual) \ | 140 V(NumberLessThanOrEqual) \ |
141 V(NumberAdd) \ | 141 V(NumberAdd) \ |
142 V(NumberSubtract) \ | 142 V(NumberSubtract) \ |
143 V(NumberMultiply) \ | 143 V(NumberMultiply) \ |
144 V(NumberDivide) \ | 144 V(NumberDivide) \ |
145 V(NumberModulus) \ | 145 V(NumberModulus) \ |
146 V(NumberToInt32) \ | 146 V(NumberToInt32) \ |
147 V(NumberToUint32) \ | 147 V(NumberToUint32) \ |
148 V(ReferenceEqual) \ | 148 V(ReferenceEqual) \ |
149 V(StringEqual) \ | 149 V(StringEqual) \ |
150 V(StringLessThan) \ | 150 V(StringLessThan) \ |
151 V(StringLessThanOrEqual) \ | 151 V(StringLessThanOrEqual) \ |
152 V(StringAdd) \ | 152 V(StringAdd) \ |
153 V(ChangeTaggedToInt32) \ | 153 V(ChangeTaggedToInt32) \ |
154 V(ChangeTaggedToUint32) \ | 154 V(ChangeTaggedToUint32) \ |
155 V(ChangeTaggedToFloat64) \ | 155 V(ChangeTaggedToFloat64) \ |
156 V(ChangeInt32ToTagged) \ | 156 V(ChangeInt32ToTagged) \ |
157 V(ChangeUint32ToTagged) \ | 157 V(ChangeUint32ToTagged) \ |
158 V(ChangeFloat64ToTagged) \ | 158 V(ChangeFloat64ToTagged) \ |
159 V(ChangeBoolToBit) \ | 159 V(ChangeBoolToBit) \ |
| 160 V(ChangeWord32ToBit) \ |
| 161 V(ChangeWord64ToBit) \ |
160 V(ChangeBitToBool) \ | 162 V(ChangeBitToBool) \ |
161 V(LoadField) \ | 163 V(LoadField) \ |
162 V(LoadBuffer) \ | 164 V(LoadBuffer) \ |
163 V(LoadElement) \ | 165 V(LoadElement) \ |
164 V(StoreField) \ | 166 V(StoreField) \ |
165 V(StoreBuffer) \ | 167 V(StoreBuffer) \ |
166 V(StoreElement) \ | 168 V(StoreElement) \ |
167 V(ObjectIsSmi) \ | 169 V(ObjectIsSmi) \ |
168 V(ObjectIsNonNegativeSmi) | 170 V(ObjectIsNonNegativeSmi) |
169 | 171 |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 return false; | 325 return false; |
324 } | 326 } |
325 } | 327 } |
326 }; | 328 }; |
327 | 329 |
328 } // namespace compiler | 330 } // namespace compiler |
329 } // namespace internal | 331 } // namespace internal |
330 } // namespace v8 | 332 } // namespace v8 |
331 | 333 |
332 #endif // V8_COMPILER_OPCODES_H_ | 334 #endif // V8_COMPILER_OPCODES_H_ |
OLD | NEW |