mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
LibJS: Work-in-progress JIT compiler :^)
This commit is contained in:
parent
f52e4fa5c2
commit
babdc0a25b
11 changed files with 634 additions and 4 deletions
|
@ -43,6 +43,16 @@ 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;
|
||||
// ==============================================================
|
||||
|
||||
private:
|
||||
explicit BasicBlock(DeprecatedString name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue