| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 V(TruncateFloat64ToInt32, Operator::kNoProperties, 1, 1) \ | 112 V(TruncateFloat64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 113 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 1) \ | 113 V(TruncateInt64ToInt32, Operator::kNoProperties, 1, 1) \ |
| 114 V(Float64Add, Operator::kCommutative, 2, 1) \ | 114 V(Float64Add, Operator::kCommutative, 2, 1) \ |
| 115 V(Float64Sub, Operator::kNoProperties, 2, 1) \ | 115 V(Float64Sub, Operator::kNoProperties, 2, 1) \ |
| 116 V(Float64Mul, Operator::kCommutative, 2, 1) \ | 116 V(Float64Mul, Operator::kCommutative, 2, 1) \ |
| 117 V(Float64Div, Operator::kNoProperties, 2, 1) \ | 117 V(Float64Div, Operator::kNoProperties, 2, 1) \ |
| 118 V(Float64Mod, Operator::kNoProperties, 2, 1) \ | 118 V(Float64Mod, Operator::kNoProperties, 2, 1) \ |
| 119 V(Float64Sqrt, Operator::kNoProperties, 1, 1) \ | 119 V(Float64Sqrt, Operator::kNoProperties, 1, 1) \ |
| 120 V(Float64Equal, Operator::kCommutative, 2, 1) \ | 120 V(Float64Equal, Operator::kCommutative, 2, 1) \ |
| 121 V(Float64LessThan, Operator::kNoProperties, 2, 1) \ | 121 V(Float64LessThan, Operator::kNoProperties, 2, 1) \ |
| 122 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 1) | 122 V(Float64LessThanOrEqual, Operator::kNoProperties, 2, 1) \ |
| 123 V(LoadStackPointer, Operator::kNoProperties, 0, 1) |
| 123 | 124 |
| 124 | 125 |
| 125 #define MACHINE_TYPE_LIST(V) \ | 126 #define MACHINE_TYPE_LIST(V) \ |
| 126 V(MachFloat32) \ | 127 V(MachFloat32) \ |
| 127 V(MachFloat64) \ | 128 V(MachFloat64) \ |
| 128 V(MachInt8) \ | 129 V(MachInt8) \ |
| 129 V(MachUint8) \ | 130 V(MachUint8) \ |
| 130 V(MachInt16) \ | 131 V(MachInt16) \ |
| 131 V(MachUint16) \ | 132 V(MachUint16) \ |
| 132 V(MachInt32) \ | 133 V(MachInt32) \ |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 default: | 240 default: |
| 240 break; | 241 break; |
| 241 } | 242 } |
| 242 UNREACHABLE(); | 243 UNREACHABLE(); |
| 243 return NULL; | 244 return NULL; |
| 244 } | 245 } |
| 245 | 246 |
| 246 } // namespace compiler | 247 } // namespace compiler |
| 247 } // namespace internal | 248 } // namespace internal |
| 248 } // namespace v8 | 249 } // namespace v8 |
| OLD | NEW |