mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:57:43 +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:
parent
bfb527e614
commit
5b87d26027
7 changed files with 15 additions and 6 deletions
|
@ -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&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue