mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibJS/JIT: Dump disassembly of generated code using LibX86
This avoids the need for redirecting stdout to a file and using ndisasm, which can lead to problems if other things are printed.
This commit is contained in:
parent
1d68c64b98
commit
ec8330b647
4 changed files with 48 additions and 1 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
~NativeExecutable();
|
||||
|
||||
void run(VM&) const;
|
||||
void dump_disassembly() const;
|
||||
|
||||
private:
|
||||
void* m_code { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue