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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 V(NumberAbs, Operator::kNoProperties, 1) \ | 249 V(NumberAbs, Operator::kNoProperties, 1) \ |
250 V(NumberClz32, Operator::kNoProperties, 1) \ | 250 V(NumberClz32, Operator::kNoProperties, 1) \ |
251 V(NumberCeil, Operator::kNoProperties, 1) \ | 251 V(NumberCeil, Operator::kNoProperties, 1) \ |
252 V(NumberFloor, Operator::kNoProperties, 1) \ | 252 V(NumberFloor, Operator::kNoProperties, 1) \ |
253 V(NumberFround, Operator::kNoProperties, 1) \ | 253 V(NumberFround, Operator::kNoProperties, 1) \ |
254 V(NumberAtan, Operator::kNoProperties, 1) \ | 254 V(NumberAtan, Operator::kNoProperties, 1) \ |
255 V(NumberAtan2, Operator::kNoProperties, 2) \ | 255 V(NumberAtan2, Operator::kNoProperties, 2) \ |
256 V(NumberAtanh, Operator::kNoProperties, 1) \ | 256 V(NumberAtanh, Operator::kNoProperties, 1) \ |
257 V(NumberCbrt, Operator::kNoProperties, 1) \ | 257 V(NumberCbrt, Operator::kNoProperties, 1) \ |
258 V(NumberCos, Operator::kNoProperties, 1) \ | 258 V(NumberCos, Operator::kNoProperties, 1) \ |
| 259 V(NumberCosh, Operator::kNoProperties, 1) \ |
259 V(NumberExp, Operator::kNoProperties, 1) \ | 260 V(NumberExp, Operator::kNoProperties, 1) \ |
260 V(NumberExpm1, Operator::kNoProperties, 1) \ | 261 V(NumberExpm1, Operator::kNoProperties, 1) \ |
261 V(NumberLog, Operator::kNoProperties, 1) \ | 262 V(NumberLog, Operator::kNoProperties, 1) \ |
262 V(NumberLog1p, Operator::kNoProperties, 1) \ | 263 V(NumberLog1p, Operator::kNoProperties, 1) \ |
263 V(NumberLog10, Operator::kNoProperties, 1) \ | 264 V(NumberLog10, Operator::kNoProperties, 1) \ |
264 V(NumberLog2, Operator::kNoProperties, 1) \ | 265 V(NumberLog2, Operator::kNoProperties, 1) \ |
265 V(NumberPow, Operator::kNoProperties, 2) \ | 266 V(NumberPow, Operator::kNoProperties, 2) \ |
266 V(NumberRound, Operator::kNoProperties, 1) \ | 267 V(NumberRound, Operator::kNoProperties, 1) \ |
267 V(NumberSin, Operator::kNoProperties, 1) \ | 268 V(NumberSin, Operator::kNoProperties, 1) \ |
| 269 V(NumberSinh, Operator::kNoProperties, 1) \ |
268 V(NumberSqrt, Operator::kNoProperties, 1) \ | 270 V(NumberSqrt, Operator::kNoProperties, 1) \ |
269 V(NumberTan, Operator::kNoProperties, 1) \ | 271 V(NumberTan, Operator::kNoProperties, 1) \ |
| 272 V(NumberTanh, Operator::kNoProperties, 1) \ |
270 V(NumberTrunc, Operator::kNoProperties, 1) \ | 273 V(NumberTrunc, Operator::kNoProperties, 1) \ |
271 V(NumberToInt32, Operator::kNoProperties, 1) \ | 274 V(NumberToInt32, Operator::kNoProperties, 1) \ |
272 V(NumberToUint32, Operator::kNoProperties, 1) \ | 275 V(NumberToUint32, Operator::kNoProperties, 1) \ |
273 V(NumberSilenceNaN, Operator::kNoProperties, 1) \ | 276 V(NumberSilenceNaN, Operator::kNoProperties, 1) \ |
274 V(StringFromCharCode, Operator::kNoProperties, 1) \ | 277 V(StringFromCharCode, Operator::kNoProperties, 1) \ |
275 V(StringToNumber, Operator::kNoProperties, 1) \ | 278 V(StringToNumber, Operator::kNoProperties, 1) \ |
276 V(PlainPrimitiveToNumber, Operator::kNoProperties, 1) \ | 279 V(PlainPrimitiveToNumber, Operator::kNoProperties, 1) \ |
277 V(PlainPrimitiveToWord32, Operator::kNoProperties, 1) \ | 280 V(PlainPrimitiveToWord32, Operator::kNoProperties, 1) \ |
278 V(PlainPrimitiveToFloat64, Operator::kNoProperties, 1) \ | 281 V(PlainPrimitiveToFloat64, Operator::kNoProperties, 1) \ |
279 V(ChangeTaggedSignedToInt32, Operator::kNoProperties, 1) \ | 282 V(ChangeTaggedSignedToInt32, Operator::kNoProperties, 1) \ |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 Operator::kNoDeopt | Operator::kNoThrow | properties, \ | 542 Operator::kNoDeopt | Operator::kNoThrow | properties, \ |
540 #Name, value_input_count, 1, control_input_count, \ | 543 #Name, value_input_count, 1, control_input_count, \ |
541 output_count, 1, 0, access); \ | 544 output_count, 1, 0, access); \ |
542 } | 545 } |
543 ACCESS_OP_LIST(ACCESS) | 546 ACCESS_OP_LIST(ACCESS) |
544 #undef ACCESS | 547 #undef ACCESS |
545 | 548 |
546 } // namespace compiler | 549 } // namespace compiler |
547 } // namespace internal | 550 } // namespace internal |
548 } // namespace v8 | 551 } // namespace v8 |
OLD | NEW |