mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
LibJS/JIT: Annotate disassembly with bytecode information
This commit is contained in:
parent
9f78e56823
commit
112eadc863
Notes:
sideshowbarker
2024-07-17 07:35:03 +09:00
Author: https://github.com/skyrising
Commit: 112eadc863
Pull-request: https://github.com/SerenityOS/serenity/pull/21703
3 changed files with 86 additions and 4 deletions
|
@ -1776,7 +1776,7 @@ OwnPtr<NativeExecutable> Compiler::compile(Bytecode::Executable& bytecode_execut
|
|||
|
||||
auto executable = make<NativeExecutable>(executable_memory, compiler.m_output.size(), mapping);
|
||||
if constexpr (DUMP_JIT_DISASSEMBLY)
|
||||
executable->dump_disassembly();
|
||||
executable->dump_disassembly(bytecode_executable);
|
||||
return executable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue