diff options
author | Ben Smith <binji@chromium.org> | 2020-07-24 13:06:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 13:06:45 -0700 |
commit | f414678326964001e4009daf58274006900d2f14 (patch) | |
tree | 225d1d14ec419e16b80d0df6d8460573da972bc0 /src | |
parent | 5140e96ea42eca9dafd28bb43ca1e93a604a08c2 (diff) | |
download | wabt-f414678326964001e4009daf58274006900d2f14.tar.gz wabt-f414678326964001e4009daf58274006900d2f14.tar.bz2 wabt-f414678326964001e4009daf58274006900d2f14.zip |
Print newline after ref.is_null instruction (#1495)
Diffstat (limited to 'src')
-rw-r--r-- | src/wat-writer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wat-writer.cc b/src/wat-writer.cc index 6bdc9f9e..81d379d1 100644 --- a/src/wat-writer.cc +++ b/src/wat-writer.cc @@ -823,7 +823,7 @@ Result WatWriter::ExprVisitorDelegate::OnRefNullExpr(RefNullExpr* expr) { } Result WatWriter::ExprVisitorDelegate::OnRefIsNullExpr(RefIsNullExpr* expr) { - writer_->WritePutsSpace(Opcode::RefIsNull_Opcode.GetName()); + writer_->WritePutsNewline(Opcode::RefIsNull_Opcode.GetName()); return Result::Ok; } |