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

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

Issue 2431563002: [turbofan] Track multiple maps for LoadElimination. (Closed)
Patch Set: REBASE Created 3 years, 12 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
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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after
949 break; 949 break;
950 case IrOpcode::kMaybeGrowFastElements: 950 case IrOpcode::kMaybeGrowFastElements:
951 CheckValueInputIs(node, 0, Type::Any()); 951 CheckValueInputIs(node, 0, Type::Any());
952 CheckValueInputIs(node, 1, Type::Internal()); 952 CheckValueInputIs(node, 1, Type::Internal());
953 CheckValueInputIs(node, 2, Type::Unsigned31()); 953 CheckValueInputIs(node, 2, Type::Unsigned31());
954 CheckValueInputIs(node, 3, Type::Unsigned31()); 954 CheckValueInputIs(node, 3, Type::Unsigned31());
955 CheckTypeIs(node, Type::Internal()); 955 CheckTypeIs(node, Type::Internal());
956 break; 956 break;
957 case IrOpcode::kTransitionElementsKind: 957 case IrOpcode::kTransitionElementsKind:
958 CheckValueInputIs(node, 0, Type::Any()); 958 CheckValueInputIs(node, 0, Type::Any());
959 CheckValueInputIs(node, 1, Type::Internal());
960 CheckValueInputIs(node, 2, Type::Internal());
961 CheckNotTyped(node); 959 CheckNotTyped(node);
962 break; 960 break;
963 961
964 case IrOpcode::kChangeTaggedSignedToInt32: { 962 case IrOpcode::kChangeTaggedSignedToInt32: {
965 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32 963 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32
966 // TODO(neis): Activate once ChangeRepresentation works in typer. 964 // TODO(neis): Activate once ChangeRepresentation works in typer.
967 // Type* from = Type::Intersect(Type::Signed32(), Type::Tagged()); 965 // Type* from = Type::Intersect(Type::Signed32(), Type::Tagged());
968 // Type* to = Type::Intersect(Type::Signed32(), Type::UntaggedInt32()); 966 // Type* to = Type::Intersect(Type::Signed32(), Type::UntaggedInt32());
969 // CheckValueInputIs(node, 0, from)); 967 // CheckValueInputIs(node, 0, from));
970 // CheckTypeIs(node, to)); 968 // CheckTypeIs(node, to));
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1676 replacement->op()->EffectOutputCount() > 0); 1674 replacement->op()->EffectOutputCount() > 0);
1677 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1675 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1678 replacement->opcode() == IrOpcode::kFrameState); 1676 replacement->opcode() == IrOpcode::kFrameState);
1679 } 1677 }
1680 1678
1681 #endif // DEBUG 1679 #endif // DEBUG
1682 1680
1683 } // namespace compiler 1681 } // namespace compiler
1684 } // namespace internal 1682 } // namespace internal
1685 } // namespace v8 1683 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698