| OLD | NEW |
| 1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #include "src/compiler/machine-operator.h" | 5 #include "src/compiler/machine-operator.h" |
| 6 | 6 |
| 7 #include "src/base/lazy-instance.h" | 7 #include "src/base/lazy-instance.h" |
| 8 #include "src/compiler/opcodes.h" | 8 #include "src/compiler/opcodes.h" |
| 9 #include "src/compiler/operator.h" | 9 #include "src/compiler/operator.h" |
| 10 | 10 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 V(Uint32LessThanOrEqual, Operator::kNoProperties, 2, 1) \ | 90 V(Uint32LessThanOrEqual, Operator::kNoProperties, 2, 1) \ |
| 91 V(Int64Add, Operator::kAssociative | Operator::kCommutative, 2, 1) \ | 91 V(Int64Add, Operator::kAssociative | Operator::kCommutative, 2, 1) \ |
| 92 V(Int64Sub, Operator::kNoProperties, 2, 1) \ | 92 V(Int64Sub, Operator::kNoProperties, 2, 1) \ |
| 93 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 1) \ | 93 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 1) \ |
| 94 V(Int64Div, Operator::kNoProperties, 2, 1) \ | 94 V(Int64Div, Operator::kNoProperties, 2, 1) \ |
| 95 V(Int64UDiv, Operator::kNoProperties, 2, 1) \ | 95 V(Int64UDiv, Operator::kNoProperties, 2, 1) \ |
| 96 V(Int64Mod, Operator::kNoProperties, 2, 1) \ | 96 V(Int64Mod, Operator::kNoProperties, 2, 1) \ |
| 97 V(Int64UMod, Operator::kNoProperties, 2, 1) \ | 97 V(Int64UMod, Operator::kNoProperties, 2, 1) \ |
| 98 V(Int64LessThan, Operator::kNoProperties, 2, 1) \ | 98 V(Int64LessThan, Operator::kNoProperties, 2, 1) \ |
| 99 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 1) \ | 99 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 1) \ |
| 100 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 1) \ |
| 100 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 1) \ | 101 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 101 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 1) \ | 102 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 1) \ |
| 102 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 1) \ | 103 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 1) \ |
| 103 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 1) \ | 104 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 1) \ |
| 104 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 1) \ | 105 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 1) \ |
| 105 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 1) \ | 106 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 1) \ |
| 107 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 1) \ |
| 106 V(TruncateFloat64ToInt32, Operator::kNoProperties, 1, 1) \ | 108 V(TruncateFloat64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 107 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 1) \ | 109 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 108 V(Float64Add, Operator::kCommutative, 2, 1) \ | 110 V(Float64Add, Operator::kCommutative, 2, 1) \ |
| 109 V(Float64Sub, Operator::kNoProperties, 2, 1) \ | 111 V(Float64Sub, Operator::kNoProperties, 2, 1) \ |
| 110 V(Float64Mul, Operator::kCommutative, 2, 1) \ | 112 V(Float64Mul, Operator::kCommutative, 2, 1) \ |
| 111 V(Float64Div, Operator::kNoProperties, 2, 1) \ | 113 V(Float64Div, Operator::kNoProperties, 2, 1) \ |
| 112 V(Float64Mod, Operator::kNoProperties, 2, 1) \ | 114 V(Float64Mod, Operator::kNoProperties, 2, 1) \ |
| 113 V(Float64Equal, Operator::kCommutative, 2, 1) \ | 115 V(Float64Equal, Operator::kCommutative, 2, 1) \ |
| 114 V(Float64LessThan, Operator::kNoProperties, 2, 1) \ | 116 V(Float64LessThan, Operator::kNoProperties, 2, 1) \ |
| 115 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 1) | 117 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 1) |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 default: | 234 default: |
| 233 break; | 235 break; |
| 234 } | 236 } |
| 235 UNREACHABLE(); | 237 UNREACHABLE(); |
| 236 return NULL; | 238 return NULL; |
| 237 } | 239 } |
| 238 | 240 |
| 239 } // namespace compiler | 241 } // namespace compiler |
| 240 } // namespace internal | 242 } // namespace internal |
| 241 } // namespace v8 | 243 } // namespace v8 |
| OLD | NEW |