mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-16 16:31:32 +00:00
Do not emit debug info by default
This basically flips the --noDebug flag to become a --debug flag, so some optimizations, like inlining, aren't skipped by default, which might be unexpected.
This commit is contained in:
@ -86,6 +86,7 @@ tests.forEach(filename => {
|
||||
"--baseDir", basedir,
|
||||
"--validate",
|
||||
"--measure",
|
||||
"--debug",
|
||||
"--textFile" // -> stdout
|
||||
], {
|
||||
stdout: stdout,
|
||||
@ -136,9 +137,9 @@ tests.forEach(filename => {
|
||||
filename,
|
||||
"--baseDir", basedir,
|
||||
"--validate",
|
||||
"-O3",
|
||||
"--measure",
|
||||
"--binaryFile" // -> stdout
|
||||
"--binaryFile", // -> stdout
|
||||
"-O3"
|
||||
];
|
||||
if (args.create) cmd.push(
|
||||
"--textFile", basename + ".optimized.wat"
|
||||
|
Reference in New Issue
Block a user