Re:What does “asm.js optimizations” mean?
by jvilk on Thursday February 19, 2015 @12:03PM
(#9075139)
Understood. If `ffiFunc()` returns an empty array at a double call site, does ASM.js just accept it as `0`? (`+[]` is `0`). Or are there runtime checks that verify that the return value is a numeric type?
btw, I hope these questions make it clearer why I grumped a bit about the specification, and result in a more robust spec!
btw, I hope these questions make it clearer why I grumped a bit about the specification, and result in a more robust spec!