Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 67246688105471cbeebef112054246f0f99c0617..0b90b980a13ed7fbfdbc56bf8104f9e5f47e8119 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -53,6 +53,7 @@ Typer::Typer(Isolate* isolate, Graph* graph, Type::FunctionType* function_type) |
Type* truncating_to_zero = |
Type::Union(Type::Union(infinity, minus_infinity, zone), |
Type::MinusZeroOrNaN(), zone); |
+ DCHECK(!truncating_to_zero->Maybe(Type::Integral32())); |
singleton_false_ = Type::Constant(factory->false_value(), zone); |
singleton_true_ = Type::Constant(factory->true_value(), zone); |