diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-11-26 19:57:36 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-11-26 19:57:36 -0800 |
commit | 9d8b73e1994a09fdc57147d805ff31d70b94459f (patch) | |
tree | d43119c08983f35515a4dbd1d50c814c4e1dc24e | |
parent | 920974131a81ace3c026514af7aa71f89328740f (diff) | |
parent | 2467bfcc122aeff62c521f5ca85897b6d412591c (diff) |
Merge pull request #1865 from ngld/llvm-used
Fix @llvm.used
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index 6d0aa751..a551e0cb 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -543,7 +543,7 @@ function intertyper(lines, sidePass, baseLineNums) { EXPORTED_FUNCTIONS[call.ident] = 0; } - ret.value = { intertype: 'value', ident: '0', value: '0', type: ret.type }; + ret.value = { intertype: 'value', ident: '0', value: '0', type: ret.type = 'i32' }; } else if (!external) { if (item.tokens[1] && item.tokens[1].text != ';') { if (item.tokens[1].text == 'c') { |