diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-26 19:35:11 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-26 19:35:11 -0500 |
commit | bafdc889fcfcab5715e8dae5d26c3d5ff3160498 (patch) | |
tree | 71dc212bf53d133901541dc508786b3b2052c9e3 /src/modules.js | |
parent | 4113375f1f0f6d3a807c1edd843e96596ee6e2c5 (diff) |
show signature in dyncall errors, and simplify approach
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules.js b/src/modules.js index 7f8a959b..501ff22e 100644 --- a/src/modules.js +++ b/src/modules.js @@ -330,14 +330,6 @@ var Functions = { } } } - if (SAFE_DYNCALLS) { - assert(!ASM_JS, 'cannot emit safe dyncalls in asm'); - for (var j = 0; j < table.length; j++) { - if (table[j] == 0) { - table[j] = "function() { abort('dyncall error') }"; - } - } - } if (table.length > 20) { // add some newlines in the table, for readability var j = 10; |