Utilize Binaryen's -O4

When specifying -O3 or -Oz, asc now automatically increases the optimize level to 4, then including costly non-LLVM optimizations for blocky code, in turn achieving similar results as an LLVM-based generator.
This commit is contained in:
dcodeIO
2018-06-09 14:05:33 +02:00
parent e9094bbd6f
commit c6ec5e2832
46 changed files with 14240 additions and 16223 deletions

View File

@ -123,7 +123,7 @@ tests.forEach(filename => {
filename,
"--baseDir", basedir,
"--validate",
"--optimize",
"-O3",
"--measure",
"--binaryFile" // -> stdout
];