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

Unified Diff: src/compiler/operation-typer.cc

Issue 2820603002: Revert of Merged: Squashed multiple commits. (Closed)
Patch Set: Created 3 years, 8 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 | « src/compiler/operation-typer.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/operation-typer.cc
diff --git a/src/compiler/operation-typer.cc b/src/compiler/operation-typer.cc
index ae7813956a0103e643f92478430e37618320549f..dfd4c4b60477cad6b154fcbaeb123d472cc85235 100644
--- a/src/compiler/operation-typer.cc
+++ b/src/compiler/operation-typer.cc
@@ -1009,19 +1009,6 @@
return singleton_true();
}
-Type* OperationTyper::CheckFloat64Hole(Type* type) {
- if (type->Maybe(Type::Hole())) {
- // Turn "the hole" into undefined.
- type = Type::Intersect(type, Type::Number(), zone());
- type = Type::Union(type, Type::Undefined(), zone());
- }
- return type;
-}
-
-Type* OperationTyper::CheckNumber(Type* type) {
- return Type::Intersect(type, Type::Number(), zone());
-}
-
Type* OperationTyper::TypeTypeGuard(const Operator* sigma_op, Type* input) {
return Type::Intersect(input, TypeGuardTypeOf(sigma_op), zone());
}
« no previous file with comments | « src/compiler/operation-typer.h ('k') | src/compiler/simplified-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698