diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-11 12:52:15 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-11 12:52:19 -0700 |
commit | 400d2454273ffd340e06477866df57403299f653 (patch) | |
tree | 563b51107c8b9678fc0de38e13a909cf4f746c24 | |
parent | 4e5b7857ca11b2576e0aad58cfca338a9a2d9a8f (diff) |
better comment on inline js in asm.js
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index f9633549..c4f62ec4 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -709,7 +709,7 @@ function intertyper(data, sidePass, baseLineNums) { if (item.ident == 'asm') { if (ASM_JS) { Types.hasInlineJS = true; - warnOnce('inline JavaScript (asm, EM_ASM) will cause the code to no longer fall in the asm.js subset of JavaScript, which can reduce performance'); + warnOnce('inline JavaScript (asm, EM_ASM) will cause the code to no longer fall in the asm.js subset of JavaScript, which can reduce performance - consider using emscripten_run_script'); } assert(TARGET_LE32, 'inline js is only supported in le32'); // Inline assembly is just JavaScript that we paste into the code |