LibJS/JIT: Record machine code location to bytecode location mapping

This commit is contained in:
Simon Wanner 2023-10-30 19:03:09 +01:00 committed by Andreas Kling
commit 9f78e56823
Notes: sideshowbarker 2024-07-17 00:57:24 +09:00
3 changed files with 37 additions and 4 deletions

View file

@ -12,9 +12,10 @@
namespace JS::JIT {
NativeExecutable::NativeExecutable(void* code, size_t size)
NativeExecutable::NativeExecutable(void* code, size_t size, Vector<BytecodeMapping> mapping)
: m_code(code)
, m_size(size)
, m_mapping(move(mapping))
{
}