1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:48:12 +00:00

LibJS/JIT: Add patchable absolute references to basic blocks

This commit is contained in:
Andreas Kling 2023-10-17 18:04:57 +02:00
parent 2e6c02f088
commit 3523f9f722
2 changed files with 23 additions and 7 deletions

View file

@ -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: