diff options
| author | 2022-08-31 11:43:33 +0200 | |
|---|---|---|
| committer | 2022-08-31 11:44:45 +0200 | |
| commit | e0bf5793a9c89548990a55e0de65c9977b9fae0e (patch) | |
| tree | 2965c9366639c1df624aaaa1624cd56c5c6d4b74 /src/cffc.hff | |
| parent | de79473b91557d65dde4d96e0a73c46476f867bc (diff) | |
remove some testing thing
Diffstat (limited to 'src/cffc.hff')
| -rw-r--r-- | src/cffc.hff | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |