summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/graph-replay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/graph-replay.cc')
-rw-r--r--deps/v8/src/compiler/graph-replay.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/v8/src/compiler/graph-replay.cc b/deps/v8/src/compiler/graph-replay.cc
index 494d4313fe..296ffe4c94 100644
--- a/deps/v8/src/compiler/graph-replay.cc
+++ b/deps/v8/src/compiler/graph-replay.cc
@@ -24,14 +24,13 @@ void GraphReplayPrinter::PrintReplay(Graph* graph) {
}
-GenericGraphVisit::Control GraphReplayPrinter::Pre(Node* node) {
+void GraphReplayPrinter::Pre(Node* node) {
PrintReplayOpCreator(node->op());
PrintF(" Node* n%d = graph.NewNode(op", node->id());
for (int i = 0; i < node->InputCount(); ++i) {
PrintF(", nil");
}
PrintF("); USE(n%d);\n", node->id());
- return GenericGraphVisit::CONTINUE;
}
@@ -63,11 +62,11 @@ void GraphReplayPrinter::PrintReplayOpCreator(const Operator* op) {
PrintF("%d", op->InputCount());
break;
case IrOpcode::kEffectPhi:
- PrintF("%d", OperatorProperties::GetEffectInputCount(op));
+ PrintF("%d", op->EffectInputCount());
break;
case IrOpcode::kLoop:
case IrOpcode::kMerge:
- PrintF("%d", OperatorProperties::GetControlInputCount(op));
+ PrintF("%d", op->ControlInputCount());
break;
default:
break;