aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorngld <ngld@tproxy.de>2013-11-27 04:05:58 +0100
committerngld <ngld@tproxy.de>2013-11-27 04:05:58 +0100
commit2467bfcc122aeff62c521f5ca85897b6d412591c (patch)
treea852c6dab8a2e9f6d4c080121a4bd0cba76c21a8 /src
parentaefb4b1d6b8a5e5bdc8afba5f43eceebbaa39280 (diff)
Set proper value type for @llvm.used
Diffstat (limited to 'src')
-rw-r--r--src/intertyper.js2
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') {