diff options
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime.js b/src/runtime.js index 7f97da35..dc604a8d 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -365,6 +365,11 @@ var Runtime = { return ret; }, + removeFunction: function(index) { + var table = FUNCTION_TABLE; // TODO: support asm + table[index] = null; + }, + warnOnce: function(text) { if (!Runtime.warnOnce.shown) Runtime.warnOnce.shown = {}; if (!Runtime.warnOnce.shown[text]) { |