mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +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
|
@ -6,6 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/FlyString.h>
|
||||
#include <AK/NonnullOwnPtrVector.h>
|
||||
#include <LibJS/Bytecode/BasicBlock.h>
|
||||
#include <LibJS/Bytecode/StringTable.h>
|
||||
|
@ -13,6 +14,7 @@
|
|||
namespace JS::Bytecode {
|
||||
|
||||
struct Executable {
|
||||
FlyString name;
|
||||
NonnullOwnPtrVector<BasicBlock> basic_blocks;
|
||||
NonnullOwnPtr<StringTable> string_table;
|
||||
size_t number_of_registers { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue