| 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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 case IrOpcode::kNumberAtan: | 670 case IrOpcode::kNumberAtan: |
| 671 return machine()->Float64Atan(); | 671 return machine()->Float64Atan(); |
| 672 case IrOpcode::kNumberAtan2: | 672 case IrOpcode::kNumberAtan2: |
| 673 return machine()->Float64Atan2(); | 673 return machine()->Float64Atan2(); |
| 674 case IrOpcode::kNumberFround: | 674 case IrOpcode::kNumberFround: |
| 675 return machine()->TruncateFloat64ToFloat32(); | 675 return machine()->TruncateFloat64ToFloat32(); |
| 676 case IrOpcode::kNumberLog: | 676 case IrOpcode::kNumberLog: |
| 677 return machine()->Float64Log(); | 677 return machine()->Float64Log(); |
| 678 case IrOpcode::kNumberLog1p: | 678 case IrOpcode::kNumberLog1p: |
| 679 return machine()->Float64Log1p(); | 679 return machine()->Float64Log1p(); |
| 680 case IrOpcode::kNumberLog2: |
| 681 return machine()->Float64Log2(); |
| 682 case IrOpcode::kNumberLog10: |
| 683 return machine()->Float64Log10(); |
| 680 case IrOpcode::kNumberSqrt: | 684 case IrOpcode::kNumberSqrt: |
| 681 return machine()->Float64Sqrt(); | 685 return machine()->Float64Sqrt(); |
| 682 case IrOpcode::kNumberSilenceNaN: | 686 case IrOpcode::kNumberSilenceNaN: |
| 683 return machine()->Float64SilenceNaN(); | 687 return machine()->Float64SilenceNaN(); |
| 684 default: | 688 default: |
| 685 UNREACHABLE(); | 689 UNREACHABLE(); |
| 686 return nullptr; | 690 return nullptr; |
| 687 } | 691 } |
| 688 } | 692 } |
| 689 | 693 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 } | 734 } |
| 731 | 735 |
| 732 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { | 736 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { |
| 733 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), | 737 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), |
| 734 node); | 738 node); |
| 735 } | 739 } |
| 736 | 740 |
| 737 } // namespace compiler | 741 } // namespace compiler |
| 738 } // namespace internal | 742 } // namespace internal |
| 739 } // namespace v8 | 743 } // namespace v8 |
| OLD | NEW |