| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 V(Uint32LessThanOrEqual, Operator::kNoProperties, 2, 1) \ | 93 V(Uint32LessThanOrEqual, Operator::kNoProperties, 2, 1) \ |
| 94 V(Int64Add, Operator::kAssociative | Operator::kCommutative, 2, 1) \ | 94 V(Int64Add, Operator::kAssociative | Operator::kCommutative, 2, 1) \ |
| 95 V(Int64Sub, Operator::kNoProperties, 2, 1) \ | 95 V(Int64Sub, Operator::kNoProperties, 2, 1) \ |
| 96 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 1) \ | 96 V(Int64Mul, Operator::kAssociative | Operator::kCommutative, 2, 1) \ |
| 97 V(Int64Div, Operator::kNoProperties, 2, 1) \ | 97 V(Int64Div, Operator::kNoProperties, 2, 1) \ |
| 98 V(Int64UDiv, Operator::kNoProperties, 2, 1) \ | 98 V(Int64UDiv, Operator::kNoProperties, 2, 1) \ |
| 99 V(Int64Mod, Operator::kNoProperties, 2, 1) \ | 99 V(Int64Mod, Operator::kNoProperties, 2, 1) \ |
| 100 V(Int64UMod, Operator::kNoProperties, 2, 1) \ | 100 V(Int64UMod, Operator::kNoProperties, 2, 1) \ |
| 101 V(Int64LessThan, Operator::kNoProperties, 2, 1) \ | 101 V(Int64LessThan, Operator::kNoProperties, 2, 1) \ |
| 102 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 1) \ | 102 V(Int64LessThanOrEqual, Operator::kNoProperties, 2, 1) \ |
| 103 V(Uint64LessThan, Operator::kNoProperties, 2, 1) \ |
| 103 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 1) \ | 104 V(ChangeFloat32ToFloat64, Operator::kNoProperties, 1, 1) \ |
| 104 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 1) \ | 105 V(ChangeFloat64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 105 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 1) \ | 106 V(ChangeFloat64ToUint32, Operator::kNoProperties, 1, 1) \ |
| 106 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 1) \ | 107 V(ChangeInt32ToFloat64, Operator::kNoProperties, 1, 1) \ |
| 107 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 1) \ | 108 V(ChangeInt32ToInt64, Operator::kNoProperties, 1, 1) \ |
| 108 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 1) \ | 109 V(ChangeUint32ToFloat64, Operator::kNoProperties, 1, 1) \ |
| 109 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 1) \ | 110 V(ChangeUint32ToUint64, Operator::kNoProperties, 1, 1) \ |
| 110 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 1) \ | 111 V(TruncateFloat64ToFloat32, Operator::kNoProperties, 1, 1) \ |
| 111 V(TruncateFloat64ToInt32, Operator::kNoProperties, 1, 1) \ | 112 V(TruncateFloat64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 112 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 1) \ | 113 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 1) \ |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 default: | 239 default: |
| 239 break; | 240 break; |
| 240 } | 241 } |
| 241 UNREACHABLE(); | 242 UNREACHABLE(); |
| 242 return NULL; | 243 return NULL; |
| 243 } | 244 } |
| 244 | 245 |
| 245 } // namespace compiler | 246 } // namespace compiler |
| 246 } // namespace internal | 247 } // namespace internal |
| 247 } // namespace v8 | 248 } // namespace v8 |
| OLD | NEW |