diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-21 16:37:48 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-21 16:37:48 -0700 |
commit | df420614de18bf8fa8e45a88feabbecd3618b892 (patch) | |
tree | 147efa8ebb2c5cacbe83043d5d54c26e3b2ac43f /tools/test-js-optimizer-asm-last.js | |
parent | fb9b76bd934414969e90b75671fd4c64bf689246 (diff) |
update tests
Diffstat (limited to 'tools/test-js-optimizer-asm-last.js')
-rw-r--r-- | tools/test-js-optimizer-asm-last.js | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/tools/test-js-optimizer-asm-last.js b/tools/test-js-optimizer-asm-last.js index e83822f8..6331879e 100644 --- a/tools/test-js-optimizer-asm-last.js +++ b/tools/test-js-optimizer-asm-last.js @@ -1,56 +1,56 @@ function finall(x) { - x = +x; - var a = +5; - a = +x; - a = 17; - a = +44; - a = +44.0; - a = +44.9; - a = +12.78e5; - a = +12e10; - a = -x; - a = -17; - a = -44; - a = -44.0; - a = -44.9; - a = -12.78e5; - a = -12e10; - a = +-x; - a = +-17; - a = +-44; - a = +-44.0; - a = +-44.9; - a = +-12.78e5; - a = +-12e10; - a = +0x8000000000000000; - a = +-0x8000000000000000; - a = -+0x8000000000000000; - a = -0x8000000000000000; - a = +0xde0b6b000000000; - a = +-0xde0b6b000000000; - a = -+0xde0b6b000000000; - a = -0xde0b6b000000000; - return +12e10; + x = +x; + var a = +5; + a = +x; + a = 17; + a = +44; + a = +44.0; + a = +44.9; + a = +12.78e5; + a = +12e10; + a = -x; + a = -17; + a = -44; + a = -44.0; + a = -44.9; + a = -12.78e5; + a = -12e10; + a = +-x; + a = +-17; + a = +-44; + a = +-44.0; + a = +-44.9; + a = +-12.78e5; + a = +-12e10; + a = +0x8000000000000000; + a = +-0x8000000000000000; + a = -+0x8000000000000000; + a = -0x8000000000000000; + a = +0xde0b6b000000000; + a = +-0xde0b6b000000000; + a = -+0xde0b6b000000000; + a = -0xde0b6b000000000; + return +12e10; } function looop() { - while (1) { - do_it(); - if (condition()) { - break; - } + while (1) { + do_it(); + if (condition()) { + break; } - while (1) { - do_it(); - if (a > b) { - break; - } + } + while (1) { + do_it(); + if (a > b) { + break; } - while (1) { - do_it(); - if (!x()) { - break; - } + } + while (1) { + do_it(); + if (!x()) { + break; } + } } // EMSCRIPTEN_GENERATED_FUNCTIONS: ["finall", "looop"] |