From aa1bb5517d57ae7540ce2c7a4315b2f242d1470c Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 3 May 2023 13:56:01 -0700 Subject: InternPool: implement isSinglePointer --- src/codegen/c.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen/c.zig') diff --git a/src/codegen/c.zig b/src/codegen/c.zig index a87f37b1c9..f4daa56a6d 100644 --- a/src/codegen/c.zig +++ b/src/codegen/c.zig @@ -3873,7 +3873,7 @@ fn airCmpOp( try reap(f, inst, &.{ data.lhs, data.rhs }); const rhs_ty = f.typeOf(data.rhs); - const need_cast = lhs_ty.isSinglePointer() or rhs_ty.isSinglePointer(); + const need_cast = lhs_ty.isSinglePointer(mod) or rhs_ty.isSinglePointer(mod); const writer = f.object.writer(); const local = try f.allocLocal(inst, inst_ty); const v = try Vectorize.start(f, inst, writer, lhs_ty); -- cgit v1.2.3