Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: test/mjsunit/wasm/embenchen/memops.js

Issue 1724043002: Re-enable validation for asm->wasm embechen tests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/mjsunit/wasm/embenchen/lua_binarytrees.js ('k') | test/mjsunit/wasm/embenchen/primes.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 = 'final: 840.\n'; 4 var EXPECTED_OUTPUT = 'final: 840.\n';
7 var Module = { 5 var Module = {
8 arguments: [1], 6 arguments: [1],
9 print: function(x) {Module.printBuffer += x + '\n';}, 7 print: function(x) {Module.printBuffer += x + '\n';},
10 preRun: [function() {Module.printBuffer = ''}], 8 preRun: [function() {Module.printBuffer = ''}],
11 postRun: [function() { 9 postRun: [function() {
12 assertEquals(EXPECTED_OUTPUT, Module.printBuffer); 10 assertEquals(EXPECTED_OUTPUT, Module.printBuffer);
13 }], 11 }],
14 }; 12 };
(...skipping 8069 matching lines...) Expand 10 before | Expand all | Expand 10 after
8084 } 8082 }
8085 8083
8086 // shouldRunNow refers to calling main(), not run(). 8084 // shouldRunNow refers to calling main(), not run().
8087 var shouldRunNow = true; 8085 var shouldRunNow = true;
8088 if (Module['noInitialRun']) { 8086 if (Module['noInitialRun']) {
8089 shouldRunNow = false; 8087 shouldRunNow = false;
8090 } 8088 }
8091 8089
8092 8090
8093 run([].concat(Module["arguments"])); 8091 run([].concat(Module["arguments"]));
OLDNEW
« no previous file with comments | « test/mjsunit/wasm/embenchen/lua_binarytrees.js ('k') | test/mjsunit/wasm/embenchen/primes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698