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

Unified Diff: src/compiler/typer.cc

Issue 2182003002: [turbofan] Fix overly aggressive dead code elimination. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments Created 4 years, 5 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/simplified-lowering.cc ('k') | test/mjsunit/regress/regress-crbug-631318-1.js » ('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 af1eded27cc87eff3f60b3c48ed8fba36cd59c65..98cf98ac337a6a1325452742970fc56eba1d3906 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -810,9 +810,7 @@ Type* Typer::Visitor::TypeProjection(Node* node) {
return Type::Any();
}
-
-Type* Typer::Visitor::TypeDead(Node* node) { return Type::Any(); }
-
+Type* Typer::Visitor::TypeDead(Node* node) { return Type::None(); }
// JS comparison operators.
« no previous file with comments | « src/compiler/simplified-lowering.cc ('k') | test/mjsunit/regress/regress-crbug-631318-1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698