mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:07:36 +00:00
LibJS/JIT: Include headers before they are used
JIT_ARCH_SUPPORTED is defined in LibJIT/Assembler.h, so we need to include it first. This change also moves the non-JIT headers outside the #ifdef
This commit is contained in:
parent
64947506da
commit
7e3cfaf08c
1 changed files with 3 additions and 3 deletions
|
@ -8,12 +8,12 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <AK/Platform.h>
|
#include <AK/Platform.h>
|
||||||
|
#include <LibJIT/Assembler.h>
|
||||||
|
#include <LibJS/Bytecode/Executable.h>
|
||||||
|
#include <LibJS/Bytecode/Op.h>
|
||||||
#include <LibJS/JIT/NativeExecutable.h>
|
#include <LibJS/JIT/NativeExecutable.h>
|
||||||
|
|
||||||
#ifdef JIT_ARCH_SUPPORTED
|
#ifdef JIT_ARCH_SUPPORTED
|
||||||
# include <LibJIT/Assembler.h>
|
|
||||||
# include <LibJS/Bytecode/Executable.h>
|
|
||||||
# include <LibJS/Bytecode/Op.h>
|
|
||||||
|
|
||||||
namespace JS::JIT {
|
namespace JS::JIT {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue