summaryrefslogtreecommitdiff
path: root/src/wasm/literal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/literal.cpp')
-rw-r--r--src/wasm/literal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wasm/literal.cpp b/src/wasm/literal.cpp
index e68dd5d5f..032b3f7f8 100644
--- a/src/wasm/literal.cpp
+++ b/src/wasm/literal.cpp
@@ -168,7 +168,6 @@ void Literal::printDouble(std::ostream& o, double d) {
}
std::ostream& operator<<(std::ostream& o, Literal literal) {
- o << '(';
prepareMinorColor(o) << printType(literal.type) << ".const ";
switch (literal.type) {
case none: o << "?"; break;
@@ -179,7 +178,7 @@ std::ostream& operator<<(std::ostream& o, Literal literal) {
default: WASM_UNREACHABLE();
}
restoreNormalColor(o);
- return o << ')';
+ return o;
}
Literal Literal::countLeadingZeroes() const {