OLD | NEW |
1 // Modified embenchen to direct to asm-wasm. | 1 // Modified embenchen to direct to asm-wasm. |
2 // Flags: --expose-wasm | 2 // Flags: --expose-wasm |
3 // TODO(mtrofin): Drop when verifier is fixed. | |
4 // Flags: --noturbo-verify-allocation | |
5 | 3 |
6 var EXPECTED_OUTPUT = | 4 var EXPECTED_OUTPUT = |
7 '123456789\n' + | 5 '123456789\n' + |
8 '213456789\n' + | 6 '213456789\n' + |
9 '231456789\n' + | 7 '231456789\n' + |
10 '321456789\n' + | 8 '321456789\n' + |
11 '312456789\n' + | 9 '312456789\n' + |
12 '132456789\n' + | 10 '132456789\n' + |
13 '234156789\n' + | 11 '234156789\n' + |
14 '324156789\n' + | 12 '324156789\n' + |
(...skipping 8417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8432 } | 8430 } |
8433 | 8431 |
8434 // shouldRunNow refers to calling main(), not run(). | 8432 // shouldRunNow refers to calling main(), not run(). |
8435 var shouldRunNow = true; | 8433 var shouldRunNow = true; |
8436 if (Module['noInitialRun']) { | 8434 if (Module['noInitialRun']) { |
8437 shouldRunNow = false; | 8435 shouldRunNow = false; |
8438 } | 8436 } |
8439 | 8437 |
8440 | 8438 |
8441 run([].concat(Module["arguments"])); | 8439 run([].concat(Module["arguments"])); |
OLD | NEW |