PPU LLVM: Reduce size of JIT-transition treampolines to 16

This commit is contained in:
Elad 2025-01-22 11:15:55 +02:00
parent 6fc643f483
commit 4c0832e6e6
3 changed files with 153 additions and 4 deletions

View file

@ -93,6 +93,10 @@ struct jit_runtime final : jit_runtime_base
// Allocate memory
static u8* alloc(usz size, usz align, bool exec = true) noexcept;
// Allocate 0 bytes, observe memory location
// Same as alloc(0, 1, exec)
static u8* peek(bool exec = true) noexcept;
// Should be called at least once after global initialization
static void initialize();