summaryrefslogtreecommitdiff
path: root/src/passes/Print.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r--src/passes/Print.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp
index fddae15ff..3e886074d 100644
--- a/src/passes/Print.cpp
+++ b/src/passes/Print.cpp
@@ -179,7 +179,7 @@ struct PrintSExpression : public WasmVisitor<PrintSExpression, void> {
if (curr->offset) {
o << " offset=" << curr->offset;
}
- if (curr->align) {
+ if (curr->align != curr->bytes) {
o << " align=" << curr->align;
}
incIndent(o, indent);
@@ -204,7 +204,7 @@ struct PrintSExpression : public WasmVisitor<PrintSExpression, void> {
if (curr->offset) {
o << " offset=" << curr->offset;
}
- if (curr->align) {
+ if (curr->align != curr->bytes) {
o << " align=" << curr->align;
}
incIndent(o, indent);