Index: test/cctest/compiler/codegen-tester.h |
diff --git a/test/cctest/compiler/codegen-tester.h b/test/cctest/compiler/codegen-tester.h |
index 73d14449a5b2593202b35c86ef5418ea00f98326..6aa5bae56069a182b07f5e8c69957a9be23e84be 100644 |
--- a/test/cctest/compiler/codegen-tester.h |
+++ b/test/cctest/compiler/codegen-tester.h |
@@ -242,7 +242,7 @@ class CompareWrapper { |
return m->NewNode(op(m->machine()), a, b); |
} |
- Operator* op(MachineOperatorBuilder* machine) { |
+ const Operator* op(MachineOperatorBuilder* machine) { |
switch (opcode) { |
case IrOpcode::kWord32Equal: |
return machine->Word32Equal(); |