mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:58:10 +00:00
LibJS: Include executable name in bytecode dumps
This commit is contained in:
parent
c95dde971b
commit
f75d78f56a
6 changed files with 16 additions and 6 deletions
|
@ -10,6 +10,7 @@ namespace JS::Bytecode {
|
|||
|
||||
void Executable::dump() const
|
||||
{
|
||||
dbgln("\033[33;1mJS::Bytecode::Executable\033[0m ({})", name);
|
||||
for (auto& block : basic_blocks)
|
||||
block.dump(*this);
|
||||
if (!string_table->is_empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue