mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-20 08:03:21 +00:00
22 lines
369 B
C++
22 lines
369 B
C++
![]() |
/*
|
||
|
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <LibJS/Bytecode/Executable.h>
|
||
|
|
||
|
namespace JS::Bytecode {
|
||
|
|
||
|
void Executable::dump() const
|
||
|
{
|
||
|
for (auto& block : basic_blocks)
|
||
|
block.dump(*this);
|
||
|
if (!string_table->is_empty()) {
|
||
|
outln();
|
||
|
string_table->dump();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|