diff options
author | Sam Clegg <sbc@chromium.org> | 2019-12-04 13:09:41 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 13:09:41 -0600 |
commit | 19d929cedb4dcf8b646dbbb58bfe59853b5d08e5 (patch) | |
tree | ea264ba70cba4f76af07ef0e2174cd6257c7abe9 /src/tools/wasm-dis.cpp | |
parent | f346478e1eb510d61c603eb6533d2c01f413e47a (diff) | |
download | binaryen-19d929cedb4dcf8b646dbbb58bfe59853b5d08e5.tar.gz binaryen-19d929cedb4dcf8b646dbbb58bfe59853b5d08e5.tar.bz2 binaryen-19d929cedb4dcf8b646dbbb58bfe59853b5d08e5.zip |
Convert to using DEBUG macros (#2497)
This means that debugging/tracing can now be enabled and controlled
centrally without managing and passing state around the codebase.
Diffstat (limited to 'src/tools/wasm-dis.cpp')
-rw-r--r-- | src/tools/wasm-dis.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tools/wasm-dis.cpp b/src/tools/wasm-dis.cpp index 6c1ed1524..493a55566 100644 --- a/src/tools/wasm-dis.cpp +++ b/src/tools/wasm-dis.cpp @@ -75,9 +75,7 @@ int main(int argc, const char* argv[]) { if (options.debug) { std::cerr << "Printing..." << std::endl; } - Output output(options.extra["output"], - Flags::Text, - options.debug ? Flags::Debug : Flags::Release); + Output output(options.extra["output"], Flags::Text); WasmPrinter::printModule(&wasm, output.getStream()); output << '\n'; |