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

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

Issue 2258073002: [Turbofan]: Use new MachineTypes in access-builder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed write barrier issue. Created 4 years, 3 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 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 // Type* to = Type::Intersect(Type::Number(), Type::UntaggedInt32()); 1001 // Type* to = Type::Intersect(Type::Number(), Type::UntaggedInt32());
1002 // CheckValueInputIs(node, 0, from)); 1002 // CheckValueInputIs(node, 0, from));
1003 // CheckUpperIs(node, to)); 1003 // CheckUpperIs(node, to));
1004 break; 1004 break;
1005 } 1005 }
1006 case IrOpcode::kImpossibleToWord32: 1006 case IrOpcode::kImpossibleToWord32:
1007 case IrOpcode::kImpossibleToWord64: 1007 case IrOpcode::kImpossibleToWord64:
1008 case IrOpcode::kImpossibleToFloat32: 1008 case IrOpcode::kImpossibleToFloat32:
1009 case IrOpcode::kImpossibleToFloat64: 1009 case IrOpcode::kImpossibleToFloat64:
1010 case IrOpcode::kImpossibleToTagged: 1010 case IrOpcode::kImpossibleToTagged:
1011 case IrOpcode::kImpossibleToTaggedSigned:
1012 case IrOpcode::kImpossibleToTaggedPointer:
1011 case IrOpcode::kImpossibleToBit: 1013 case IrOpcode::kImpossibleToBit:
1012 break; 1014 break;
1013 1015
1014 case IrOpcode::kCheckBounds: 1016 case IrOpcode::kCheckBounds:
1015 CheckValueInputIs(node, 0, Type::Any()); 1017 CheckValueInputIs(node, 0, Type::Any());
1016 CheckValueInputIs(node, 1, Type::Unsigned31()); 1018 CheckValueInputIs(node, 1, Type::Unsigned31());
1017 CheckUpperIs(node, Type::Unsigned31()); 1019 CheckUpperIs(node, Type::Unsigned31());
1018 break; 1020 break;
1019 case IrOpcode::kCheckMaps: 1021 case IrOpcode::kCheckMaps:
1020 // (Any, Internal, ..., Internal) -> Any 1022 // (Any, Internal, ..., Internal) -> Any
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1604 replacement->op()->EffectOutputCount() > 0); 1606 replacement->op()->EffectOutputCount() > 0);
1605 DCHECK(!NodeProperties::IsFrameStateEdge(edge) || 1607 DCHECK(!NodeProperties::IsFrameStateEdge(edge) ||
1606 replacement->opcode() == IrOpcode::kFrameState); 1608 replacement->opcode() == IrOpcode::kFrameState);
1607 } 1609 }
1608 1610
1609 #endif // DEBUG 1611 #endif // DEBUG
1610 1612
1611 } // namespace compiler 1613 } // namespace compiler
1612 } // namespace internal 1614 } // namespace internal
1613 } // namespace v8 1615 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698