Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 67d11370e4b41f14198d23090bac515580b835f0..1260881d8b1cce5b893205b6afdb97d332606b76 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: |