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

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

Issue 2164573003: [turbofan] Introduce a TransitionElementsKind simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix the runtime fallback. Created 4 years, 5 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/typer.cc ('k') | src/elements.h » ('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 812 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 case IrOpcode::kObjectIsSmi: 823 case IrOpcode::kObjectIsSmi:
824 case IrOpcode::kObjectIsString: 824 case IrOpcode::kObjectIsString:
825 case IrOpcode::kObjectIsUndetectable: 825 case IrOpcode::kObjectIsUndetectable:
826 CheckValueInputIs(node, 0, Type::Any()); 826 CheckValueInputIs(node, 0, Type::Any());
827 CheckUpperIs(node, Type::Boolean()); 827 CheckUpperIs(node, Type::Boolean());
828 break; 828 break;
829 case IrOpcode::kAllocate: 829 case IrOpcode::kAllocate:
830 CheckValueInputIs(node, 0, Type::PlainNumber()); 830 CheckValueInputIs(node, 0, Type::PlainNumber());
831 CheckUpperIs(node, Type::TaggedPointer()); 831 CheckUpperIs(node, Type::TaggedPointer());
832 break; 832 break;
833 case IrOpcode::kTransitionElementsKind:
834 CheckValueInputIs(node, 0, Type::Any());
835 CheckValueInputIs(node, 1, Type::Internal());
836 CheckValueInputIs(node, 2, Type::Internal());
837 CheckNotTyped(node);
838 break;
833 839
834 case IrOpcode::kChangeTaggedSignedToInt32: { 840 case IrOpcode::kChangeTaggedSignedToInt32: {
835 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32 841 // Signed32 /\ Tagged -> Signed32 /\ UntaggedInt32
836 // TODO(neis): Activate once ChangeRepresentation works in typer. 842 // TODO(neis): Activate once ChangeRepresentation works in typer.
837 // Type* from = Type::Intersect(Type::Signed32(), Type::Tagged()); 843 // Type* from = Type::Intersect(Type::Signed32(), Type::Tagged());
838 // Type* to = Type::Intersect(Type::Signed32(), Type::UntaggedInt32()); 844 // Type* to = Type::Intersect(Type::Signed32(), Type::UntaggedInt32());
839 // CheckValueInputIs(node, 0, from)); 845 // CheckValueInputIs(node, 0, from));
840 // CheckUpperIs(node, to)); 846 // CheckUpperIs(node, to));
841 break; 847 break;
842 } 848 }
(...skipping 666 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 replacement->op()->EffectOutputCount() > 0); 1515 replacement->op()->EffectOutputCount() > 0);
1510 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1516 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1511 replacement->opcode() == IrOpcode::kFrameState); 1517 replacement->opcode() == IrOpcode::kFrameState);
1512 } 1518 }
1513 1519
1514 #endif // DEBUG 1520 #endif // DEBUG
1515 1521
1516 } // namespace compiler 1522 } // namespace compiler
1517 } // namespace internal 1523 } // namespace internal
1518 } // namespace v8 1524 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/typer.cc ('k') | src/elements.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698