| Index: src/compiler/operation-typer.cc
|
| diff --git a/src/compiler/operation-typer.cc b/src/compiler/operation-typer.cc
|
| index 4295a22287f1b24939ecb999358e1032170bc53b..ca693d1ae8b0826370a9be64d9fd6f897e2fac06 100644
|
| --- a/src/compiler/operation-typer.cc
|
| +++ b/src/compiler/operation-typer.cc
|
| @@ -21,11 +21,7 @@ OperationTyper::OperationTyper(Isolate* isolate, Zone* zone)
|
| Factory* factory = isolate->factory();
|
| infinity_ = Type::Constant(factory->infinity_value(), zone);
|
| minus_infinity_ = Type::Constant(factory->minus_infinity_value(), zone);
|
| - // Unfortunately, the infinities created in other places might be different
|
| - // ones (eg the result of NewNumber in TypeNumberConstant).
|
| - Type* truncating_to_zero =
|
| - Type::Union(Type::Union(infinity_, minus_infinity_, zone),
|
| - Type::MinusZeroOrNaN(), zone);
|
| + Type* truncating_to_zero = Type::MinusZeroOrNaN();
|
| DCHECK(!truncating_to_zero->Maybe(Type::Integral32()));
|
|
|
| singleton_false_ = Type::Constant(factory->false_value(), zone);
|
|
|