diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-06 16:40:24 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-06 16:40:24 -0700 |
commit | fa5c7b07f9360d46738cfcace12805a9c44b3c7e (patch) | |
tree | 50fe7175f77eb179f380c2687d834d273b04a6d9 /src/jsifier.js | |
parent | d3f5b239dafa77141c2cf196cbe0e6b793de554e (diff) |
do not indexize global aliases
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index e24b8e73..d2d782c7 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -258,7 +258,7 @@ function JSify(data, functionsOnly, givenFunctions, givenGlobalVariables) { // Set the actual value in a postset, since it may be a global variable. TODO: handle alias of alias (needs ordering) ret.push({ intertype: 'GlobalVariablePostSet', - JS: item.ident + ' = ' + finalizeLLVMParameter(item.value) + ';' + JS: item.ident + ' = ' + finalizeLLVMParameter(item.value, true) + ';' // do *not* indexize functions here }); return ret; } |