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:
parent
cf93e56833
commit
9f78e56823
3 changed files with 37 additions and 4 deletions
|
@ -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))
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue