From ca3b09c836af6878ce3879ef91d7ba75f9898cb8 Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 24 Aug 2022 08:23:36 +0200 Subject: dot operator llvm --- src/type.cff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/type.cff') diff --git a/src/type.cff b/src/type.cff index 3feb14c..d93548a 100644 --- a/src/type.cff +++ b/src/type.cff @@ -307,8 +307,8 @@ extern fn typeof2(a *const Type, b *const Type) *const Type { return #null; } -extern fn types_to_llvm() void { +extern fn visittypes(proc *fn(*const Type, *void) void, arg *void) void { set_each(ty, types_set) { - llvm_addtype(ty); + proc(ty, arg); } } -- cgit v1.2.3