diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 18:18:29 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:21 -0800 |
commit | 2fa357e0d2cb793dc5c37697d3eaf07512fe72b2 (patch) | |
tree | 4f428b017381a4d2b0b38d06daadabe60f847f37 /src | |
parent | 518597ee2bdb9b1f060334a469ec73777a5e42e1 (diff) |
expose redirected library idents to asm
Diffstat (limited to 'src')
-rw-r--r-- | src/jsifier.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 8f1e3fac..a6dcfd0e 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -409,6 +409,7 @@ function JSify(data, functionsOnly, givenFunctions) { deps.push(snippet); snippet = '_' + snippet; } + if (ASM_JS) Functions.libraryFunctions[ident] = 1; } else if (typeof snippet === 'object') { snippet = stringifyWithFunctions(snippet); } else if (typeof snippet === 'function') { |