summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wat-writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wat-writer.cc b/src/wat-writer.cc
index 81d379d1..837f109e 100644
--- a/src/wat-writer.cc
+++ b/src/wat-writer.cc
@@ -904,7 +904,7 @@ Result WatWriter::ExprVisitorDelegate::OnThrowExpr(ThrowExpr* expr) {
}
Result WatWriter::ExprVisitorDelegate::OnRethrowExpr(RethrowExpr* expr) {
- writer_->WritePutsSpace(Opcode::Rethrow_Opcode.GetName());
+ writer_->WritePutsNewline(Opcode::Rethrow_Opcode.GetName());
return Result::Ok;
}