diff options
author | juj <jujjyl@gmail.com> | 2020-02-10 17:41:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-10 17:41:33 +0200 |
commit | 5cfac758ce4086300f93f29dd1584346f9ad030b (patch) | |
tree | 594c5386662acecb4117c1c8f878a320d7d70f77 /test/wasm2js/emscripten.2asm.js | |
parent | 64760b10911d4dfc828be1fd9ffc74fdd82998ed (diff) | |
download | binaryen-5cfac758ce4086300f93f29dd1584346f9ad030b.tar.gz binaryen-5cfac758ce4086300f93f29dd1584346f9ad030b.tar.bz2 binaryen-5cfac758ce4086300f93f29dd1584346f9ad030b.zip |
Fix missing newline after // EMSCRIPTEN_START_FUNCS and // EMSCRIPTEN_END_FUNCS markers. (#2626)
* Fix missing newline after // EMSCRIPTEN_START_FUNCS and // EMSCRIPTEN_END_FUNCS markers.
* Flake
* Update tests
Diffstat (limited to 'test/wasm2js/emscripten.2asm.js')
-rw-r--r-- | test/wasm2js/emscripten.2asm.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/wasm2js/emscripten.2asm.js b/test/wasm2js/emscripten.2asm.js index ac03d032d..444401fa4 100644 --- a/test/wasm2js/emscripten.2asm.js +++ b/test/wasm2js/emscripten.2asm.js @@ -25,7 +25,8 @@ function asmFunc(global, env, buffer) { var infinity = global.Infinity; var syscall$6 = env.__syscall6; var syscall$54 = env.__syscall54; - // EMSCRIPTEN_START_FUNCS; + // EMSCRIPTEN_START_FUNCS +; function main() { syscall$6(1 | 0, 2 | 0) | 0; syscall$54(3 | 0, 4 | 0) | 0; @@ -183,7 +184,8 @@ function asmFunc(global, env, buffer) { abort(); } - // EMSCRIPTEN_END_FUNCS; + // EMSCRIPTEN_END_FUNCS +; FUNCTION_TABLE[1] = foo; FUNCTION_TABLE[2] = bar; FUNCTION_TABLE[3] = tabled; |