mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
LibJS/Bytecode: Fix formatting of operand lists in bytecode dumps
There was an unterminated color escape sequence which caused "args" to look like "rgs" when dumping Call instructions.
This commit is contained in:
parent
83d29b3e45
commit
55dc69625a
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ static ByteString format_operand_list(StringView name, ReadonlySpan<Operand> ope
|
|||
{
|
||||
StringBuilder builder;
|
||||
if (!name.is_empty())
|
||||
builder.appendff(", \033[32{}\033[0m:[", name);
|
||||
builder.appendff(", \033[32m{}\033[0m:[", name);
|
||||
for (size_t i = 0; i < operands.size(); ++i) {
|
||||
if (i != 0)
|
||||
builder.append(", "sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue