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

Unified Diff: src/compiler/typer.cc

Issue 545223002: Fix typer to actually visit the entire graph. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments by Ben Titzer. Created 6 years, 3 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/pipeline.cc ('k') | no next file » | 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 e898eb323dd508ab587208fcd25252cdd3e4ceb6..a23d37aefb836491cbdf44bf08ee2aac222e113d 100644
--- a/src/compiler/typer.cc
+++ b/src/compiler/typer.cc
@@ -117,14 +117,6 @@ class Typer::RunVisitor : public Typer::Visitor {
: Visitor(typer, context),
phis(NodeSet::key_compare(), NodeSet::allocator_type(typer->zone())) {}
- GenericGraphVisit::Control Pre(Node* node) {
- return NodeProperties::IsControl(node)
- && node->opcode() != IrOpcode::kEnd
- && node->opcode() != IrOpcode::kMerge
- && node->opcode() != IrOpcode::kReturn
- ? GenericGraphVisit::SKIP : GenericGraphVisit::CONTINUE;
- }
-
GenericGraphVisit::Control Post(Node* node) {
Bounds bounds = TypeNode(node);
if (node->opcode() == IrOpcode::kPhi) {
« no previous file with comments | « src/compiler/pipeline.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698