aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorJez Ng <me@jezng.com>2013-07-09 07:02:47 -0700
committerJez Ng <me@jezng.com>2013-07-11 20:37:57 -0700
commitc1e1d87bc3b9e249795543e44a1224c2f03154ce (patch)
tree3f8506715b75acdf97e68dfdc3e4c1a35ffccb5a /src/jsifier.js
parent9f9af4cefb142960cad37b3f43f4777e4334f2f2 (diff)
Implement self-dlopen.
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
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) {