Just a simple question, can I include a section of the asm.js code in a set of common javascript, One function or otherwise, how can I put the ASM code in the C program for those areas that need special adaptation?
Yes.
Use "Use ASM";
The preamble at the top of the function block (i.e. function or file) that is asm full example:
function MyAsmModule () {"use asm "; // module body}
For more information see
Comments
Post a Comment