From e0bf5793a9c89548990a55e0de65c9977b9fae0e Mon Sep 17 00:00:00 2001 From: lemon Date: Wed, 31 Aug 2022 11:43:33 +0200 Subject: remove some testing thing --- src/cffc.hff | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/cffc.hff') diff --git a/src/cffc.hff b/src/cffc.hff index d6de469..3e6a66f 100644 --- a/src/cffc.hff +++ b/src/cffc.hff @@ -467,10 +467,9 @@ fn mkarrtype(len i64, konst bool, child *const Type) *const Type { }); } fn mkptrtype(child *const Type) *const Type { - let tmp typeof((Type{}).u) = :Ptr(child); let ty = Type { g_targ.ptrsize, - .u: tmp + .u: :Ptr(child) }; return interntype(&ty); } -- cgit v1.2.3