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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 case IrOpcode::kNumberDivide: | 652 case IrOpcode::kNumberDivide: |
653 return machine()->Float64Div(); | 653 return machine()->Float64Div(); |
654 case IrOpcode::kNumberModulus: | 654 case IrOpcode::kNumberModulus: |
655 return machine()->Float64Mod(); | 655 return machine()->Float64Mod(); |
656 case IrOpcode::kNumberEqual: | 656 case IrOpcode::kNumberEqual: |
657 return machine()->Float64Equal(); | 657 return machine()->Float64Equal(); |
658 case IrOpcode::kNumberLessThan: | 658 case IrOpcode::kNumberLessThan: |
659 return machine()->Float64LessThan(); | 659 return machine()->Float64LessThan(); |
660 case IrOpcode::kNumberLessThanOrEqual: | 660 case IrOpcode::kNumberLessThanOrEqual: |
661 return machine()->Float64LessThanOrEqual(); | 661 return machine()->Float64LessThanOrEqual(); |
| 662 case IrOpcode::kNumberAtan: |
| 663 return machine()->Float64Atan(); |
| 664 case IrOpcode::kNumberAtan2: |
| 665 return machine()->Float64Atan2(); |
662 case IrOpcode::kNumberLog: | 666 case IrOpcode::kNumberLog: |
663 return machine()->Float64Log(); | 667 return machine()->Float64Log(); |
664 case IrOpcode::kNumberLog1p: | 668 case IrOpcode::kNumberLog1p: |
665 return machine()->Float64Log1p(); | 669 return machine()->Float64Log1p(); |
666 default: | 670 default: |
667 UNREACHABLE(); | 671 UNREACHABLE(); |
668 return nullptr; | 672 return nullptr; |
669 } | 673 } |
670 } | 674 } |
671 | 675 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 } | 716 } |
713 | 717 |
714 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { | 718 Node* RepresentationChanger::InsertChangeTaggedToFloat64(Node* node) { |
715 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), | 719 return jsgraph()->graph()->NewNode(simplified()->ChangeTaggedToFloat64(), |
716 node); | 720 node); |
717 } | 721 } |
718 | 722 |
719 } // namespace compiler | 723 } // namespace compiler |
720 } // namespace internal | 724 } // namespace internal |
721 } // namespace v8 | 725 } // namespace v8 |
OLD | NEW |