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

Unified Diff: src/compiler/verifier.cc

Issue 2226293002: [turbolizer] Visualize also the dead nodes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@t-p2
Patch Set: Created 4 years, 4 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/store-store-elimination.cc ('k') | test/cctest/compiler/test-osr.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/verifier.cc
diff --git a/src/compiler/verifier.cc b/src/compiler/verifier.cc
index e7869d3cd4cfde164ef8581cf12acce67def909e..eabd99dcf479dbb93bc5c2834aac32509a08bf7a 100644
--- a/src/compiler/verifier.cc
+++ b/src/compiler/verifier.cc
@@ -1266,10 +1266,10 @@ void Verifier::Run(Graph* graph, Typing typing, CheckInputs check_inputs) {
Zone zone(graph->zone()->allocator());
Visitor visitor(&zone, typing, check_inputs);
AllNodes all(&zone, graph);
- for (Node* node : all.live) visitor.Check(node);
+ for (Node* node : all.reachable) visitor.Check(node);
// Check the uniqueness of projections.
- for (Node* proj : all.live) {
+ for (Node* proj : all.reachable) {
if (proj->opcode() != IrOpcode::kProjection) continue;
Node* node = proj->InputAt(0);
for (Node* other : node->uses()) {
« no previous file with comments | « src/compiler/store-store-elimination.cc ('k') | test/cctest/compiler/test-osr.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698