mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-05 07:39:16 +00:00
LibJS/JIT: Record machine code location to bytecode location mapping
This commit is contained in:
parent
cf93e56833
commit
9f78e56823
Notes:
sideshowbarker
2024-07-17 00:57:24 +09:00
Author: https://github.com/skyrising
Commit: 9f78e56823
Pull-request: https://github.com/SerenityOS/serenity/pull/21703
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