Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: src/compiler/typer.cc

Issue 2455503006: Revert of Merged: [turbofan] Fix typing rule for Math.sign. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/type-cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.cc
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc
index b4051e5547333eb828bdfe23e35b29236ecc7e48..0d07053dedd0a732cfa3925bd4d229dca1b6706f 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -1321,7 +1321,7 @@
case kMathTan:
return Type::Number();
case kMathSign:
- return t->cache_.kMinusOneToOneOrMinusZeroOrNaN;
+ return t->cache_.kMinusOneToOne;
// Binary math functions.
case kMathAtan2:
case kMathPow:
« no previous file with comments | « no previous file | src/type-cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698