diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-10-09 10:19:46 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-10-09 10:19:46 +0200 |
commit | 961b6fc01f9c2f0220070849d22b2a30ca031324 (patch) | |
tree | 4aad269afbe41c28684f2c028fb59d64a5935760 /SC/Exp.hs | |
parent | ab75ec49d7248d5c908090f9ed7b234a0ff333d9 (diff) |
Static C functions; clean up
Diffstat (limited to 'SC/Exp.hs')
-rw-r--r-- | SC/Exp.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ compileFun aenv (A.Lam lhs (A.Body body)) = do ++ map (\(TypedName t n) -> (t, n)) (itupList argnames) ++ map (\(TypedName t n) -> (t, n)) (itupList outnames) return $ CompiledFun - (C.ProcDef funname arguments (sts1 ++ sts2)) + (C.ProcDef C.defAttrs { C.faStatic = True }funname arguments (sts1 ++ sts2)) (\argexprs destnames -> map (C.EVar . snd) arrayarguments ++ itupList argexprs |