Index: test/cctest/compiler/codegen-tester.h |
diff --git a/test/cctest/compiler/codegen-tester.h b/test/cctest/compiler/codegen-tester.h |
index 41a19a15320bba6c5da9b60a4de2993e0da715c1..9ca1066ecd5a859b450c6a700a4a8d00635cbcb3 100644 |
--- a/test/cctest/compiler/codegen-tester.h |
+++ b/test/cctest/compiler/codegen-tester.h |
@@ -207,7 +207,7 @@ class CompareWrapper { |
explicit CompareWrapper(IrOpcode::Value op) : opcode(op) {} |
Node* MakeNode(RawMachineAssemblerTester<int32_t>* m, Node* a, Node* b) { |
- return m->NewNode(op(m->machine()), a, b); |
+ return m->AddNode(op(m->machine()), a, b); |
} |
const Operator* op(MachineOperatorBuilder* machine) { |