mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 21:14:35 +03:00
[Bug] Fix formatting of anonymous labels (#362)
Anonymous labels accidentally called `sb.append` instead of `sb.appendFormat` which messes up the label's formatting.
This commit is contained in:
committed by
GitHub
parent
a876e4d1cd
commit
752eb38a4d
@@ -143,7 +143,7 @@ Error formatLabel(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (le->type() == LabelType::kAnonymous)
|
if (le->type() == LabelType::kAnonymous)
|
||||||
ASMJIT_PROPAGATE(sb.append("L%u@", labelId));
|
ASMJIT_PROPAGATE(sb.appendFormat("L%u@", labelId));
|
||||||
return sb.append(le->name());
|
return sb.append(le->name());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user