1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:17:44 +00:00

LibJS/JIT: Annotate disassembly with bytecode information

This commit is contained in:
Simon Wanner 2023-10-30 20:14:37 +01:00 committed by Andreas Kling
parent 9f78e56823
commit 112eadc863
3 changed files with 86 additions and 4 deletions

View file

@ -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;
}