diff options
author | Jez Ng <me@jezng.com> | 2013-07-09 07:02:47 -0700 |
---|---|---|
committer | Jez Ng <me@jezng.com> | 2013-07-11 20:37:57 -0700 |
commit | c1e1d87bc3b9e249795543e44a1224c2f03154ce (patch) | |
tree | 3f8506715b75acdf97e68dfdc3e4c1a35ffccb5a /src/jsifier.js | |
parent | 9f9af4cefb142960cad37b3f43f4777e4334f2f2 (diff) |
Implement self-dlopen.
Diffstat (limited to 'src/jsifier.js')
-rw-r--r-- | src/jsifier.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js index 82b78d0a..bc073aaa 100644 --- a/src/jsifier.js +++ b/src/jsifier.js @@ -602,6 +602,8 @@ function JSify(data, functionsOnly, givenFunctions) { var associatedSourceFile = "NO_SOURCE"; } + if (LINKABLE) Functions.getIndex(func.ident); + func.JS += 'function ' + func.ident + '(' + paramIdents.join(', ') + ') {\n'; if (PGO) { |