1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

LibJIT+LibJS: Move JIT::Assembler into a new LibJIT library

This will allow other parts of the system to generate machine code
at runtime. :^)
This commit is contained in:
Andreas Kling 2023-10-26 15:18:28 +02:00
parent bfb527e614
commit 5b87d26027
7 changed files with 15 additions and 6 deletions

View file

@ -6,13 +6,15 @@
#pragma once
#include <LibJIT/Assembler.h>
#include <LibJS/Bytecode/Executable.h>
#include <LibJS/Bytecode/Op.h>
#include <LibJS/JIT/Assembler.h>
#include <LibJS/JIT/NativeExecutable.h>
namespace JS::JIT {
using ::JIT::Assembler;
class Compiler {
public:
static OwnPtr<NativeExecutable> compile(Bytecode::Executable&);