aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-11-29 15:58:48 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-07 14:23:20 -0800
commitb9a37437fccf5759d346d9e3b3222a6556442a68 (patch)
tree7b7baa0908e64db9d6dd4cd21c569c48e3e4d113 /src/runtime.js
parentc4b9ec4ef814a3d2753786e1782de33a92a597a3 (diff)
fix function table addition code
Diffstat (limited to 'src/runtime.js')
-rw-r--r--src/runtime.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime.js b/src/runtime.js
index 57867917..fbdf4970 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -311,6 +311,10 @@ var Runtime = {
return ret;
},
+ getFunctionTable: function(sig) {
+ return FUNCTION_TABLE; // TODO: Support asm
+ },
+
addFunction: function(func, sig) {
assert(sig);
var table = Runtime.getFunctionTable(sig);