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

LibJS: Remove all interactions between Assembler and BasicBlock

With this change, Assembler is now free from LibJS concepts and could
move out to its own apartment. :^)
This commit is contained in:
Andreas Kling 2023-10-26 15:06:58 +02:00
parent 022974a43a
commit 72c31fdd01
2 changed files with 0 additions and 41 deletions

View file

@ -43,19 +43,6 @@ public:
DeprecatedString const& name() const { return m_name; }
// ==============================================================
// FIXME: This is JIT state and shouldn't be part of BasicBlock itself.
// Offset into the instruction stream where this code block starts.
size_t offset { 0 };
// 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:
explicit BasicBlock(DeprecatedString name);