Index: src/compiler/verifier.cc |
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc |
index 6a8b6e28225db2449a7d995fcb2fc7c087196ed2..a5ff400ee82b9b246d806b1de1bab7a58b7cd2eb 100644 |
--- a/src/compiler/verifier.cc |
+++ b/src/compiler/verifier.cc |
@@ -857,6 +857,15 @@ void Verifier::Visitor::Check(Node* node) { |
// CheckUpperIs(node, to)); |
break; |
} |
+ case IrOpcode::kTruncateTaggedToWord32: { |
+ // Number /\ Tagged -> Signed32 /\ UntaggedInt32 |
+ // TODO(neis): Activate once ChangeRepresentation works in typer. |
+ // Type* from = Type::Intersect(Type::Number(), Type::Tagged()); |
+ // Type* to = Type::Intersect(Type::Number(), Type::UntaggedInt32()); |
+ // CheckValueInputIs(node, 0, from)); |
+ // CheckUpperIs(node, to)); |
+ break; |
+ } |
case IrOpcode::kLoadField: |
// Object -> fieldtype |
@@ -979,6 +988,7 @@ void Verifier::Visitor::Check(Node* node) { |
case IrOpcode::kFloat64LessThan: |
case IrOpcode::kFloat64LessThanOrEqual: |
case IrOpcode::kTruncateInt64ToInt32: |
+ case IrOpcode::kRoundFloat64ToInt32: |
case IrOpcode::kRoundInt32ToFloat32: |
case IrOpcode::kRoundInt64ToFloat32: |
case IrOpcode::kRoundInt64ToFloat64: |
@@ -986,7 +996,7 @@ void Verifier::Visitor::Check(Node* node) { |
case IrOpcode::kRoundUint64ToFloat64: |
case IrOpcode::kRoundUint64ToFloat32: |
case IrOpcode::kTruncateFloat64ToFloat32: |
- case IrOpcode::kTruncateFloat64ToInt32: |
+ case IrOpcode::kTruncateFloat64ToWord32: |
case IrOpcode::kBitcastFloat32ToInt32: |
case IrOpcode::kBitcastFloat64ToInt64: |
case IrOpcode::kBitcastInt32ToFloat32: |