aboutsummaryrefslogtreecommitdiff
path: root/src/main/stanza/ir-utils.stanza
diff options
context:
space:
mode:
authorazidar2015-04-23 22:42:32 -0700
committerazidar2015-04-23 22:42:32 -0700
commit6add45d9bb45a179cb7b81f0b4fc3e201019f9cc (patch)
tree385b696d5104bceb0c9577b26d1b07f88ac5c87b /src/main/stanza/ir-utils.stanza
parent0224127dc4dba9cf35b0208d32a116b7d33ad925 (diff)
Fixed bug in lowering where the arguments to DoPrim and Pad weren't lowered
Diffstat (limited to 'src/main/stanza/ir-utils.stanza')
-rw-r--r--src/main/stanza/ir-utils.stanza2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/stanza/ir-utils.stanza b/src/main/stanza/ir-utils.stanza
index a80c2d7e..91e49123 100644
--- a/src/main/stanza/ir-utils.stanza
+++ b/src/main/stanza/ir-utils.stanza
@@ -300,7 +300,7 @@ defmethod map (f: Type -> Type, c:Stmt) -> Stmt :
match(c) :
(c:DefWire) : DefWire(name(c),f(type(c)))
(c:DefRegister) : DefRegister(name(c),f(type(c)))
- (c:DefMemory) : DefMemory(name(c),f(type(c)))
+ (c:DefMemory) : DefMemory(name(c),f(type(c)) as VectorType)
(c) : c
public defmulti mapr<?T> (f: Width -> Width, t:?T&Type) -> T