LibJS/JIT: Add patchable absolute references to basic blocks

This commit is contained in:
Andreas Kling 2023-10-17 18:04:57 +02:00
commit 3523f9f722
Notes: sideshowbarker 2024-07-17 05:06:13 +09:00
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: