Index: test/cctest/compiler/graph-builder-tester.h |
diff --git a/test/cctest/compiler/graph-builder-tester.h b/test/cctest/compiler/graph-builder-tester.h |
index 38c3ca7e1e23526464011ff455331f818f7553fa..3fba64c7e59b44a7f8ccd2e58589e106a150948c 100644 |
--- a/test/cctest/compiler/graph-builder-tester.h |
+++ b/test/cctest/compiler/graph-builder-tester.h |
@@ -26,8 +26,8 @@ class DirectGraphBuilder : public GraphBuilder { |
virtual ~DirectGraphBuilder() {} |
protected: |
- virtual Node* MakeNode(Operator* op, int value_input_count, |
- Node** value_inputs) { |
+ virtual Node* MakeNode(const Operator* op, int value_input_count, |
+ Node** value_inputs) FINAL { |
return graph()->NewNode(op, value_input_count, value_inputs); |
} |
}; |