From 88a9b1721b799275238c7d601643cf030a73f99c Mon Sep 17 00:00:00 2001 From: azidar Date: Wed, 15 Apr 2015 19:38:25 -0700 Subject: Updated todo --- src/main/stanza/passes.stanza | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/stanza') diff --git a/src/main/stanza/passes.stanza b/src/main/stanza/passes.stanza index 63c504a9..664b0a1f 100644 --- a/src/main/stanza/passes.stanza +++ b/src/main/stanza/passes.stanza @@ -2115,7 +2115,7 @@ defn emit! (o:OutputStream, e:Expression,top:Symbol) : print(o, " ") print(o, const) (e) : print-all(o, ["EMIT(" e ")"]) - ;(e) : emit-all(o, ["mov'" prim-width(type(e)) " " e], top) + ;(e) : emit-all(o, ["mov'" prim-width(type(e)) " " e], top) ;TODO, not sure which one is right defn emit-s (o:OutputStream, s:Stmt, v:List, top:Symbol) : match(s) : @@ -2129,7 +2129,7 @@ defn emit-s (o:OutputStream, s:Stmt, v:List, top:Symbol) : (s:Connect) : if loc(s) typeof WritePort : val e = loc(s) as WritePort - val name = gensym("T") + val name = gensym(`F) emit-all(o, [top "::" name " = wr'" prim-width(type(e)) " " enable(e) " " top "::" mem(e) " " index(e) " " exp(s) "\n"], top) else : val n = name(loc(s) as Ref) -- cgit v1.2.3