diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc index 67d11370e4..1260881d8b 100644 --- a/src/compiler/typer.cc +++ b/src/compiler/typer.cc @@ -1295,7 +1295,7 @@ Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) { if (function->shared()->HasBuiltinFunctionId()) { switch (function->shared()->builtin_function_id()) { case kMathRandom: - return Type::OrderedNumber(); + return Type::PlainNumber(); case kMathFloor: case kMathCeil: case kMathRound: