| 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 649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 660 case IrOpcode::kNumberLessThanOrEqual: | 660 case IrOpcode::kNumberLessThanOrEqual: |
| 661 return machine()->Float64LessThanOrEqual(); | 661 return machine()->Float64LessThanOrEqual(); |
| 662 case IrOpcode::kNumberAtan: | 662 case IrOpcode::kNumberAtan: |
| 663 return machine()->Float64Atan(); | 663 return machine()->Float64Atan(); |
| 664 case IrOpcode::kNumberAtan2: | 664 case IrOpcode::kNumberAtan2: |
| 665 return machine()->Float64Atan2(); | 665 return machine()->Float64Atan2(); |
| 666 case IrOpcode::kNumberLog: | 666 case IrOpcode::kNumberLog: |
| 667 return machine()->Float64Log(); | 667 return machine()->Float64Log(); |
| 668 case IrOpcode::kNumberLog1p: | 668 case IrOpcode::kNumberLog1p: |
| 669 return machine()->Float64Log1p(); | 669 return machine()->Float64Log1p(); |
| 670 case IrOpcode::kNumberSilenceNaN: |
| 671 return machine()->Float64SilenceNaN(); |
| 670 default: | 672 default: |
| 671 UNREACHABLE(); | 673 UNREACHABLE(); |
| 672 return nullptr; | 674 return nullptr; |
| 673 } | 675 } |
| 674 } | 676 } |
| 675 | 677 |
| 676 | 678 |
| 677 Node* RepresentationChanger::TypeError(Node* node, | 679 Node* RepresentationChanger::TypeError(Node* node, |
| 678 MachineRepresentation output_rep, | 680 MachineRepresentation output_rep, |
| 679 Type* output_type, | 681 Type* output_type, |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 716 } | 718 } |
| 717 | 719 |
| 718 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { | 720 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { |
| 719 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), | 721 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), |
| 720 node); | 722 node); |
| 721 } | 723 } |
| 722 | 724 |
| 723 } // namespace compiler | 725 } // namespace compiler |
| 724 } // namespace internal | 726 } // namespace internal |
| 725 } // namespace v8 | 727 } // namespace v8 |
| OLD | NEW |