aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-26 19:59:55 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-26 19:59:55 -0800
commitae4438f174fc6d414a4107d9e6a6f31d148d86b8 (patch)
tree6c86e340e474b8ebc5f0c7b3a909f03bfc500bf4
parent9d8b73e1994a09fdc57147d805ff31d70b94459f (diff)
tiny code cleanup
-rw-r--r--src/intertyper.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index a551e0cb..15f619a1 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -543,7 +543,8 @@ function intertyper(lines, sidePass, baseLineNums) {
EXPORTED_FUNCTIONS[call.ident] = 0;
}
- ret.value = { intertype: 'value', ident: '0', value: '0', type: ret.type = 'i32' };
+ ret.type = 'i32';
+ ret.value = { intertype: 'value', ident: '0', value: '0', type: ret.type };
} else if (!external) {
if (item.tokens[1] && item.tokens[1].text != ';') {
if (item.tokens[1].text == 'c') {