aboutsummaryrefslogtreecommitdiff
path: root/src/analyzer.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-05 20:48:17 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:23 -0800
commit58687c3327e0568c91aee7654c1290086bcab2a0 (patch)
tree8a0a01bbc443e0cef60d7383e46d7661ea4fe41e /src/analyzer.js
parent1d4641ded68b5183af571c2421dbea7a615a0bcf (diff)
standardize tempRet to start at 0
Diffstat (limited to 'src/analyzer.js')
-rw-r--r--src/analyzer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyzer.js b/src/analyzer.js
index cd7f6fea..4922a2f5 100644
--- a/src/analyzer.js
+++ b/src/analyzer.js
@@ -331,7 +331,7 @@ function analyzer(data, sidePass) {
intertype: 'value',
assignTo: element.ident,
type: element.bits,
- ident: 'tempRet' + (j++)
+ ident: 'tempRet' + (j++ - 1)
});
assert(j<10); // TODO: dynamically create more than 10 tempRet-s
}