Chromium Code Reviews

Unified Diff: src/compiler/loop-peeling.cc

Issue 883613006: [turbofan] Cleanup the NodeProperties. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/compiler/loop-analysis.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/loop-peeling.cc
diff --git a/src/compiler/loop-peeling.cc b/src/compiler/loop-peeling.cc
index f1a5667c534282b9a69a9b0b37ee0c3eac8278c7..1bdf71a7d10641eb3b68ef5f982a054cfab64f02 100644
--- a/src/compiler/loop-peeling.cc
+++ b/src/compiler/loop-peeling.cc
@@ -7,7 +7,7 @@
#include "src/compiler/loop-peeling.h"
#include "src/compiler/node.h"
#include "src/compiler/node-marker.h"
-#include "src/compiler/node-properties-inl.h"
+#include "src/compiler/node-properties.h"
#include "src/zone.h"
// Loop peeling is an optimization that copies the body of a loop, creating
@@ -276,7 +276,7 @@ PeeledIteration* LoopPeeler::Peel(Graph* graph, CommonOperatorBuilder* common,
if (end != NULL) {
exits.push_back(end);
for (Node* use : end->uses()) {
- if (IrOpcode::IsPhiOpcode(use->opcode())) exits.push_back(use);
+ if (NodeProperties::IsPhi(use)) exits.push_back(use);
}
}
}
« no previous file with comments | « src/compiler/loop-analysis.cc ('k') | src/compiler/mips/code-generator-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine