diff options
Diffstat (limited to 'src/passes/Print.cpp')
-rw-r--r-- | src/passes/Print.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/passes/Print.cpp b/src/passes/Print.cpp index 7651414e0..66b0fa8f5 100644 --- a/src/passes/Print.cpp +++ b/src/passes/Print.cpp @@ -411,6 +411,9 @@ struct PrintSExpression : public Visitor<PrintSExpression> { o << '(' ; prepareColor(o); o << printWasmType(curr->expectedType) << ".wait"; + if (curr->offset) { + o << " offset=" << curr->offset; + } restoreNormalColor(o); incIndent(); printFullLine(curr->ptr); @@ -420,6 +423,9 @@ struct PrintSExpression : public Visitor<PrintSExpression> { } void visitAtomicWake(AtomicWake* curr) { printOpening(o, "wake"); + if (curr->offset) { + o << " offset=" << curr->offset; + } incIndent(); printFullLine(curr->ptr); printFullLine(curr->wakeCount); |