aboutsummaryrefslogtreecommitdiff
path: root/src/intertyper.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-27 11:12:15 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-11-27 11:12:15 -0800
commitacf077c620074ee40727cfea7137e647454bd392 (patch)
tree4d031f6803d4ff5d47f57155762d9fa9908e9e8a /src/intertyper.js
parentd4d0f6d9fbfca9c70e183a49a195dc13c0d9236e (diff)
external globals and not indexable
Diffstat (limited to 'src/intertyper.js')
-rw-r--r--src/intertyper.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index 9dd47c72..35ad0e4c 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -512,6 +512,7 @@ function intertyper(data, sidePass, baseLineNums) {
};
if (!NAMED_GLOBALS) {
Variables.globals[ret.ident].type = ret.type;
+ Variables.globals[ret.ident].external = external;
}
Types.needAnalysis[ret.type] = 0;
if (ident == '@llvm.global_ctors') {