1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 10:37:34 +00:00

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
parent cf93e56833
commit 9f78e56823
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))
{
}