aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-30 16:34:46 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-30 16:34:46 -0700
commit822df0890f15d2162d1cd1064fac749efcd1601c (patch)
treee65ea9d0ad3d88b05ad8fd8cedf9be5db0ff46fe /src
parent51ee6a403e82b1e38c2baebb80985590c333d5e0 (diff)
fix call legalization temp types
Diffstat (limited to 'src')
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index 2b74a83f..253c5505 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -418,7 +418,7 @@ function analyzer(data, sidePass) {
toAdd.push({
intertype: 'value',
assignTo: element.ident,
- type: element.bits,
+ type: 'i' + element.bits,
ident: 'tempRet' + (j - 1)
});
assert(j<10); // TODO: dynamically create more than 10 tempRet-s