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

Unified Diff: src/compiler/verifier.cc

Issue 2290233002: [turbofan] Introduce MachineRepresentation to PropertyAccessInfo. (Closed)
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index 602aa30fd38fe688d4b327dbccb21be2d11c7cdf..e4a18779ac17435f768fdba1e63896ce019959ed 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -361,8 +361,6 @@ void Verifier::Visitor::Check(Node* node) {
case IrOpcode::kHeapConstant:
// Constants have no inputs.
CHECK_EQ(0, input_count);
- // Type can be anything represented as a heap pointer.
- CheckUpperIs(node, Type::TaggedPointer());
break;
case IrOpcode::kExternalConstant:
// Constants have no inputs.
@@ -861,7 +859,6 @@ void Verifier::Visitor::Check(Node* node) {
break;
case IrOpcode::kAllocate:
CheckValueInputIs(node, 0, Type::PlainNumber());
- CheckUpperIs(node, Type::TaggedPointer());
break;
case IrOpcode::kEnsureWritableFastElements:
CheckValueInputIs(node, 0, Type::Any());
@@ -1018,11 +1015,10 @@ void Verifier::Visitor::Check(Node* node) {
break;
case IrOpcode::kCheckTaggedSigned:
CheckValueInputIs(node, 0, Type::Any());
- CheckUpperIs(node, Type::TaggedSigned());
+ CheckUpperIs(node, Type::SignedSmall());
break;
case IrOpcode::kCheckTaggedPointer:
CheckValueInputIs(node, 0, Type::Any());
- CheckUpperIs(node, Type::TaggedPointer());
break;
case IrOpcode::kCheckedInt32Add:
« src/compiler/access-info.cc ('K') | « src/compiler/type-cache.h ('k') | src/machine-type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698