summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAsumu Takikawa <asumu@ccs.neu.edu>2020-07-30 13:18:20 -0700
committerGitHub <noreply@github.com>2020-07-30 13:18:20 -0700
commit724b83c95368ee389eca9df6f47aa7e971dd03a0 (patch)
treebfcdb16e443ffed5c3708367e8a8eb583f59275d /src
parentdfb652a62ba36409d00ca96c730d39a699b898a5 (diff)
downloadwabt-724b83c95368ee389eca9df6f47aa7e971dd03a0.tar.gz
wabt-724b83c95368ee389eca9df6f47aa7e971dd03a0.tar.bz2
wabt-724b83c95368ee389eca9df6f47aa7e971dd03a0.zip
Print newline after rethrow instruction (#1503)
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;
}