diff options
| author | 2026-04-19 08:58:22 +0200 | |
|---|---|---|
| committer | 2026-04-19 09:04:03 +0200 | |
| commit | 3e5ed57421e55f58079a5d18bd32fa2aded8f933 (patch) | |
| tree | 78200d7ff109aebd96b19749cac6c7f8928b1e39 | |
| parent | 0856091ac4f17ca9c89a2cb9bd17c54998676abf (diff) | |
c: remove unused function
| -rw-r--r-- | src/c.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -4018,18 +4018,6 @@ complexstore(Function *fn, Type base, Ref adr, Ref2 c) } static Ref -complex2addr(Function *fn, const Expr *ex) -{ - assert(iscomplex(ex->ty)); - if (islvalue(ex)) return expraddr(fn, ex); - Type base = typechild(ex->ty); - Ref2 uv = compcomplexex(fn, ex, 0); - Ref r = addinstr(fn, mkalloca(targ_primsizes[base.t]*2, targ_primalign[base.t])); - complexstore(fn, base, r, uv); - return r; -} - -static Ref complex2addr_cvt(Function *fn, Type to, const Expr *ex) { assert(iscomplex(to)); |