Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Side by Side Diff: src/compiler/representation-change.cc

Issue 2060233002: [turbofan] Prevent storing signalling NaNs into holey double arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix spelling, rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698