summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index a978e71ca..45c557d7b 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -567,7 +567,9 @@ public:
Expression *value;
std::ostream& print(std::ostream &o, unsigned indent) override {
- printOpening(o, "unary ");
+ o << '(';
+ prepareColor(o);
+ printBasicType(o, type) << '.';
switch (op) {
case Clz: o << "clz"; break;
case Neg: o << "neg"; break;