Confirmed users
367
edits
Line 33: | Line 33: | ||
== Possible asm.js extensions that don't require new JS features == | == Possible asm.js extensions that don't require new JS features == | ||
* Extend asm.js to allow proper tail calls for all return types and do the tail-call optimization | |||
* Effectively support 'goto' (even computed 'goto') by formalizing a pattern of while+switch that gets compiled as if it was goto | * Effectively support 'goto' (even computed 'goto') by formalizing a pattern of while+switch that gets compiled as if it was goto | ||
* Extend asm.js to better support dynamically linking asm.js modules (a mutable, callable array argument to asm.js module, like the PLT) | * Extend asm.js to better support dynamically linking asm.js modules (a mutable, callable array argument to asm.js module, like the PLT) |