From 1d3f3dda67c24c148dce13734c21cdab487ddc87 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 23 Aug 2016 11:33:57 -0700 Subject: allow forcing full print mode in the env --- src/passes/Print.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 570423efa..0071ede38 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -40,6 +40,9 @@ struct PrintSExpression : public Visitor { PrintSExpression(std::ostream& o) : o(o) { setMinify(false); + if (getenv("BINARYEN_PRINT_FULL")) { + full = std::stoi(getenv("BINARYEN_PRINT_FULL")); + } } void setMinify(bool minify_) { -- cgit v1.2.3