OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/simplified-operator.h" | 5 #include "src/compiler/simplified-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 #include "src/types.h" | 10 #include "src/types.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 V(NumberMultiply, Operator::kCommutative, 2) \ | 244 V(NumberMultiply, Operator::kCommutative, 2) \ |
245 V(NumberDivide, Operator::kNoProperties, 2) \ | 245 V(NumberDivide, Operator::kNoProperties, 2) \ |
246 V(NumberModulus, Operator::kNoProperties, 2) \ | 246 V(NumberModulus, Operator::kNoProperties, 2) \ |
247 V(NumberBitwiseOr, Operator::kCommutative, 2) \ | 247 V(NumberBitwiseOr, Operator::kCommutative, 2) \ |
248 V(NumberBitwiseXor, Operator::kCommutative, 2) \ | 248 V(NumberBitwiseXor, Operator::kCommutative, 2) \ |
249 V(NumberBitwiseAnd, Operator::kCommutative, 2) \ | 249 V(NumberBitwiseAnd, Operator::kCommutative, 2) \ |
250 V(NumberShiftLeft, Operator::kNoProperties, 2) \ | 250 V(NumberShiftLeft, Operator::kNoProperties, 2) \ |
251 V(NumberShiftRight, Operator::kNoProperties, 2) \ | 251 V(NumberShiftRight, Operator::kNoProperties, 2) \ |
252 V(NumberShiftRightLogical, Operator::kNoProperties, 2) \ | 252 V(NumberShiftRightLogical, Operator::kNoProperties, 2) \ |
253 V(NumberImul, Operator::kCommutative, 2) \ | 253 V(NumberImul, Operator::kCommutative, 2) \ |
| 254 V(NumberAbs, Operator::kNoProperties, 1) \ |
254 V(NumberClz32, Operator::kNoProperties, 1) \ | 255 V(NumberClz32, Operator::kNoProperties, 1) \ |
255 V(NumberCeil, Operator::kNoProperties, 1) \ | 256 V(NumberCeil, Operator::kNoProperties, 1) \ |
256 V(NumberFloor, Operator::kNoProperties, 1) \ | 257 V(NumberFloor, Operator::kNoProperties, 1) \ |
257 V(NumberFround, Operator::kNoProperties, 1) \ | 258 V(NumberFround, Operator::kNoProperties, 1) \ |
258 V(NumberAtan, Operator::kNoProperties, 1) \ | 259 V(NumberAtan, Operator::kNoProperties, 1) \ |
259 V(NumberAtan2, Operator::kNoProperties, 2) \ | 260 V(NumberAtan2, Operator::kNoProperties, 2) \ |
260 V(NumberAtanh, Operator::kNoProperties, 1) \ | 261 V(NumberAtanh, Operator::kNoProperties, 1) \ |
261 V(NumberCbrt, Operator::kNoProperties, 1) \ | 262 V(NumberCbrt, Operator::kNoProperties, 1) \ |
262 V(NumberCos, Operator::kNoProperties, 1) \ | 263 V(NumberCos, Operator::kNoProperties, 1) \ |
263 V(NumberExp, Operator::kNoProperties, 1) \ | 264 V(NumberExp, Operator::kNoProperties, 1) \ |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
558 Operator::kNoDeopt | Operator::kNoThrow | properties, \ | 559 Operator::kNoDeopt | Operator::kNoThrow | properties, \ |
559 #Name, value_input_count, 1, control_input_count, \ | 560 #Name, value_input_count, 1, control_input_count, \ |
560 output_count, 1, 0, access); \ | 561 output_count, 1, 0, access); \ |
561 } | 562 } |
562 ACCESS_OP_LIST(ACCESS) | 563 ACCESS_OP_LIST(ACCESS) |
563 #undef ACCESS | 564 #undef ACCESS |
564 | 565 |
565 } // namespace compiler | 566 } // namespace compiler |
566 } // namespace internal | 567 } // namespace internal |
567 } // namespace v8 | 568 } // namespace v8 |
OLD | NEW |