| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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/representation-change.h" | 5 #include "src/compiler/representation-change.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 case IrOpcode::kNumberLog: | 691 case IrOpcode::kNumberLog: |
| 692 return machine()->Float64Log(); | 692 return machine()->Float64Log(); |
| 693 case IrOpcode::kNumberLog1p: | 693 case IrOpcode::kNumberLog1p: |
| 694 return machine()->Float64Log1p(); | 694 return machine()->Float64Log1p(); |
| 695 case IrOpcode::kNumberLog2: | 695 case IrOpcode::kNumberLog2: |
| 696 return machine()->Float64Log2(); | 696 return machine()->Float64Log2(); |
| 697 case IrOpcode::kNumberLog10: | 697 case IrOpcode::kNumberLog10: |
| 698 return machine()->Float64Log10(); | 698 return machine()->Float64Log10(); |
| 699 case IrOpcode::kNumberSin: | 699 case IrOpcode::kNumberSin: |
| 700 return machine()->Float64Sin(); | 700 return machine()->Float64Sin(); |
| 701 case IrOpcode::kNumberTan: |
| 702 return machine()->Float64Tan(); |
| 701 case IrOpcode::kNumberSqrt: | 703 case IrOpcode::kNumberSqrt: |
| 702 return machine()->Float64Sqrt(); | 704 return machine()->Float64Sqrt(); |
| 703 case IrOpcode::kNumberCbrt: | 705 case IrOpcode::kNumberCbrt: |
| 704 return machine()->Float64Cbrt(); | 706 return machine()->Float64Cbrt(); |
| 705 case IrOpcode::kNumberExpm1: | 707 case IrOpcode::kNumberExpm1: |
| 706 return machine()->Float64Expm1(); | 708 return machine()->Float64Expm1(); |
| 707 case IrOpcode::kNumberSilenceNaN: | 709 case IrOpcode::kNumberSilenceNaN: |
| 708 return machine()->Float64SilenceNaN(); | 710 return machine()->Float64SilenceNaN(); |
| 709 default: | 711 default: |
| 710 UNREACHABLE(); | 712 UNREACHABLE(); |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 } | 757 } |
| 756 | 758 |
| 757 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { | 759 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { |
| 758 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), | 760 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), |
| 759 node); | 761 node); |
| 760 } | 762 } |
| 761 | 763 |
| 762 } // namespace compiler | 764 } // namespace compiler |
| 763 } // namespace internal | 765 } // namespace internal |
| 764 } // namespace v8 | 766 } // namespace v8 |
| OLD | NEW |