diff options
author | ngld <ngld@tproxy.de> | 2013-11-27 04:05:58 +0100 |
---|---|---|
committer | ngld <ngld@tproxy.de> | 2013-11-27 04:05:58 +0100 |
commit | 2467bfcc122aeff62c521f5ca85897b6d412591c (patch) | |
tree | a852c6dab8a2e9f6d4c080121a4bd0cba76c21a8 /src | |
parent | aefb4b1d6b8a5e5bdc8afba5f43eceebbaa39280 (diff) |
Set proper value type for @llvm.used
Diffstat (limited to 'src')
-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') { |