aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorazidar2015-04-15 19:38:25 -0700
committerazidar2015-04-15 19:38:25 -0700
commit88a9b1721b799275238c7d601643cf030a73f99c (patch)
tree46e10c3c4a204bf63fe780acb62a0110eb96a214 /src
parent98c721d17ab8352c618c7917b8188e14959f2bad (diff)
Updated todo
Diffstat (limited to 'src')
-rw-r--r--src/main/stanza/passes.stanza4
1 files changed, 2 insertions, 2 deletions
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<Symbol>, top:Symbol) :
match(s) :
@@ -2129,7 +2129,7 @@ defn emit-s (o:OutputStream, s:Stmt, v:List<Symbol>, 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)