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

Side by Side Diff: src/compiler/verifier.cc

Issue 2666863002: [turbofan] Introduce ChangeTaggedToTaggedSigned operator. (Closed)
Patch Set: Created 3 years, 10 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/simplified-operator.cc ('k') | test/mjsunit/regress/regress-crbug-687029.js » ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/verifier.h" 5 #include "src/compiler/verifier.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <queue> 9 #include <queue>
10 #include <sstream> 10 #include <sstream>
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 } 1005 }
1006 case IrOpcode::kChangeTaggedToFloat64: { 1006 case IrOpcode::kChangeTaggedToFloat64: {
1007 // NumberOrUndefined /\ Tagged -> Number /\ UntaggedFloat64 1007 // NumberOrUndefined /\ Tagged -> Number /\ UntaggedFloat64
1008 // TODO(neis): Activate once ChangeRepresentation works in typer. 1008 // TODO(neis): Activate once ChangeRepresentation works in typer.
1009 // Type* from = Type::Intersect(Type::Number(), Type::Tagged()); 1009 // Type* from = Type::Intersect(Type::Number(), Type::Tagged());
1010 // Type* to = Type::Intersect(Type::Number(), Type::UntaggedFloat64()); 1010 // Type* to = Type::Intersect(Type::Number(), Type::UntaggedFloat64());
1011 // CheckValueInputIs(node, 0, from)); 1011 // CheckValueInputIs(node, 0, from));
1012 // CheckTypeIs(node, to)); 1012 // CheckTypeIs(node, to));
1013 break; 1013 break;
1014 } 1014 }
1015 case IrOpcode::kChangeTaggedToTaggedSigned:
1016 break;
1015 case IrOpcode::kTruncateTaggedToFloat64: { 1017 case IrOpcode::kTruncateTaggedToFloat64: {
1016 // NumberOrUndefined /\ Tagged -> Number /\ UntaggedFloat64 1018 // NumberOrUndefined /\ Tagged -> Number /\ UntaggedFloat64
1017 // TODO(neis): Activate once ChangeRepresentation works in typer. 1019 // TODO(neis): Activate once ChangeRepresentation works in typer.
1018 // Type* from = Type::Intersect(Type::NumberOrUndefined(), 1020 // Type* from = Type::Intersect(Type::NumberOrUndefined(),
1019 // Type::Tagged()); 1021 // Type::Tagged());
1020 // Type* to = Type::Intersect(Type::Number(), Type::UntaggedFloat64()); 1022 // Type* to = Type::Intersect(Type::Number(), Type::UntaggedFloat64());
1021 // CheckValueInputIs(node, 0, from)); 1023 // CheckValueInputIs(node, 0, from));
1022 // CheckTypeIs(node, to)); 1024 // CheckTypeIs(node, to));
1023 break; 1025 break;
1024 } 1026 }
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1699 replacement->op()->EffectOutputCount() > 0); 1701 replacement->op()->EffectOutputCount() > 0);
1700 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1702 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1701 replacement->opcode() == IrOpcode::kFrameState); 1703 replacement->opcode() == IrOpcode::kFrameState);
1702 } 1704 }
1703 1705
1704 #endif // DEBUG 1706 #endif // DEBUG
1705 1707
1706 } // namespace compiler 1708 } // namespace compiler
1707 } // namespace internal 1709 } // namespace internal
1708 } // namespace v8 1710 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.cc ('k') | test/mjsunit/regress/regress-crbug-687029.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698