Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 4f97772c8be20a0cb5b1553823d2abf749bab3f3..085b55482444f07d36c66c84efdbb0d2b276a486 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1324,7 +1324,7 @@ Type* Typer::Visitor::JSCallFunctionTyper(Type* fun, Typer* t) { |
case kMathTan: |
return Type::Number(); |
case kMathSign: |
- return t->cache_.kMinusOneToOne; |
+ return t->cache_.kMinusOneToOneOrMinusZeroOrNaN; |
// Binary math functions. |
case kMathAtan2: |
case kMathPow: |