mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibJS/JIT: Add patchable absolute references to basic blocks
This commit is contained in:
parent
2e6c02f088
commit
3523f9f722
Notes:
sideshowbarker
2024-07-17 05:06:13 +09:00
Author: https://github.com/awesomekling
Commit: 3523f9f722
Pull-request: https://github.com/SerenityOS/serenity/pull/21619
Reviewed-by: https://github.com/Hendiadyoin1
2 changed files with 23 additions and 7 deletions
|
@ -51,6 +51,9 @@ public:
|
|||
|
||||
// Offsets into the instruction stream where we have RIP-relative jump offsets to here that need patching.
|
||||
Vector<size_t> jumps_to_here;
|
||||
|
||||
// Offsets into the instruction stream where we have absolute 64-bit references to here that need patching.
|
||||
Vector<size_t> absolute_references_to_here;
|
||||
// ==============================================================
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue