mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 15:55:06 +00:00
LibJS/Bytecode: Exclude extra tables from bytecode executable dumps
This commit is contained in:
parent
aada76d0fb
commit
c0ec924dc9
1 changed files with 3 additions and 9 deletions
|
@ -41,17 +41,11 @@ Executable::~Executable() = default;
|
|||
|
||||
void Executable::dump() const
|
||||
{
|
||||
dbgln("\033[33;1mJS::Bytecode::Executable\033[0m ({})", name);
|
||||
warnln("\033[37;1mJS bytecode executable\033[0m \"{}\"", name);
|
||||
for (auto& block : basic_blocks)
|
||||
block->dump(*this);
|
||||
if (!string_table->is_empty()) {
|
||||
outln();
|
||||
string_table->dump();
|
||||
}
|
||||
if (!identifier_table->is_empty()) {
|
||||
outln();
|
||||
identifier_table->dump();
|
||||
}
|
||||
|
||||
warnln("");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue