diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-06 16:03:27 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-06 16:03:27 -0700 |
commit | 7d6d4be94472f1d45715f2291fb03f81ec08cabb (patch) | |
tree | 080d679bada77de077748d9345466753635088a8 /src/jsifier.js | |
parent | 921a5d81d1c8a6edb35a0614049161901ef6ec74 (diff) |
handle llvm funcs in 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 b1f42567..e24b8e73 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 + ' = ' + item.aliasee + ';' + JS: item.ident + ' = ' + finalizeLLVMParameter(item.value) + ';' }); return ret; } |