diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-29 15:58:48 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:20 -0800 |
commit | b9a37437fccf5759d346d9e3b3222a6556442a68 (patch) | |
tree | 7b7baa0908e64db9d6dd4cd21c569c48e3e4d113 /src/runtime.js | |
parent | c4b9ec4ef814a3d2753786e1782de33a92a597a3 (diff) |
fix function table addition code
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 4 |
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); |