aboutsummaryrefslogtreecommitdiff
path: root/src/runtime.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.js')
-rw-r--r--src/runtime.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/runtime.js b/src/runtime.js
index 6ab78611..acd5ed8d 100644
--- a/src/runtime.js
+++ b/src/runtime.js
@@ -77,14 +77,6 @@ Runtime = {
staticAlloc: unInline('staticAlloc', ['size']),
alignMemory: unInline('alignMemory', ['size', 'quantum']),
- getFunctionIndex: function getFunctionIndex(func, ident) {
- var key = FUNCTION_TABLE.length;
- FUNCTION_TABLE[key] = func;
- FUNCTION_TABLE[key+1] = null; // Need to have keys be even numbers, see |polymorph| test
- Module[ident] = func; // Export using full name, for Closure Compiler
- return key;
- },
-
// TODO: cleanup
isNumberType: function(type) {
return type in Runtime.INT_TYPES || type in Runtime.FLOAT_TYPES;