mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 08:10:02 +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
Notes:
sideshowbarker
2024-07-17 11:33:34 +09:00
Author: https://github.com/awesomekling
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