diff options
Diffstat (limited to 'erts/emulator/asmjit/core/formatter.cpp')
-rw-r--r-- | erts/emulator/asmjit/core/formatter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/erts/emulator/asmjit/core/formatter.cpp b/erts/emulator/asmjit/core/formatter.cpp index 1c4b7b6c6f..56e9692662 100644 --- a/erts/emulator/asmjit/core/formatter.cpp +++ b/erts/emulator/asmjit/core/formatter.cpp @@ -143,7 +143,7 @@ Error formatLabel( } if (le->type() == LabelType::kAnonymous) - ASMJIT_PROPAGATE(sb.append("L%u@", labelId)); + ASMJIT_PROPAGATE(sb.appendFormat("L%u@", labelId)); return sb.append(le->name()); } else { @@ -471,8 +471,7 @@ Error formatNode( case NodeType::kComment: { const CommentNode* commentNode = node->as<CommentNode>(); - ASMJIT_PROPAGATE(sb.appendFormat("; %s", commentNode->inlineComment())); - break; + return sb.appendFormat("; %s", commentNode->inlineComment()); } case NodeType::kSentinel: { |