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_MACHINE_OPERATOR_H_ | 5 #ifndef V8_COMPILER_MACHINE_OPERATOR_H_ |
6 #define V8_COMPILER_MACHINE_OPERATOR_H_ | 6 #define V8_COMPILER_MACHINE_OPERATOR_H_ |
7 | 7 |
8 #include "src/base/flags.h" | 8 #include "src/base/flags.h" |
9 #include "src/machine-type.h" | 9 #include "src/machine-type.h" |
10 | 10 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 const Operator* Int32LessThanOrEqual(); | 185 const Operator* Int32LessThanOrEqual(); |
186 const Operator* Uint32Div(); | 186 const Operator* Uint32Div(); |
187 const Operator* Uint32LessThan(); | 187 const Operator* Uint32LessThan(); |
188 const Operator* Uint32LessThanOrEqual(); | 188 const Operator* Uint32LessThanOrEqual(); |
189 const Operator* Uint32Mod(); | 189 const Operator* Uint32Mod(); |
190 const Operator* Uint32MulHigh(); | 190 const Operator* Uint32MulHigh(); |
191 bool Int32DivIsSafe() const { return flags_ & kInt32DivIsSafe; } | 191 bool Int32DivIsSafe() const { return flags_ & kInt32DivIsSafe; } |
192 bool Uint32DivIsSafe() const { return flags_ & kUint32DivIsSafe; } | 192 bool Uint32DivIsSafe() const { return flags_ & kUint32DivIsSafe; } |
193 | 193 |
194 const Operator* Int64Add(); | 194 const Operator* Int64Add(); |
| 195 const Operator* Int64AddWithOverflow(); |
195 const Operator* Int64Sub(); | 196 const Operator* Int64Sub(); |
| 197 const Operator* Int64SubWithOverflow(); |
196 const Operator* Int64Mul(); | 198 const Operator* Int64Mul(); |
197 const Operator* Int64Div(); | 199 const Operator* Int64Div(); |
198 const Operator* Int64Mod(); | 200 const Operator* Int64Mod(); |
199 const Operator* Int64LessThan(); | 201 const Operator* Int64LessThan(); |
200 const Operator* Int64LessThanOrEqual(); | 202 const Operator* Int64LessThanOrEqual(); |
201 const Operator* Uint64Div(); | 203 const Operator* Uint64Div(); |
202 const Operator* Uint64LessThan(); | 204 const Operator* Uint64LessThan(); |
203 const Operator* Uint64LessThanOrEqual(); | 205 const Operator* Uint64LessThanOrEqual(); |
204 const Operator* Uint64Mod(); | 206 const Operator* Uint64Mod(); |
205 | 207 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 }; | 355 }; |
354 | 356 |
355 | 357 |
356 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) | 358 DEFINE_OPERATORS_FOR_FLAGS(MachineOperatorBuilder::Flags) |
357 | 359 |
358 } // namespace compiler | 360 } // namespace compiler |
359 } // namespace internal | 361 } // namespace internal |
360 } // namespace v8 | 362 } // namespace v8 |
361 | 363 |
362 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ | 364 #endif // V8_COMPILER_MACHINE_OPERATOR_H_ |
OLD | NEW |