mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +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
Notes:
sideshowbarker
2024-07-17 09:41:18 +09:00
Author: https://github.com/skyrising
Commit: 7e3cfaf08c
Pull-request: https://github.com/SerenityOS/serenity/pull/21814
1 changed files with 3 additions and 3 deletions
|
@ -8,12 +8,12 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/Platform.h>
|
||||
#include <LibJIT/Assembler.h>
|
||||
#include <LibJS/Bytecode/Executable.h>
|
||||
#include <LibJS/Bytecode/Op.h>
|
||||
#include <LibJS/JIT/NativeExecutable.h>
|
||||
|
||||
#ifdef JIT_ARCH_SUPPORTED
|
||||
# include <LibJIT/Assembler.h>
|
||||
# include <LibJS/Bytecode/Executable.h>
|
||||
# include <LibJS/Bytecode/Op.h>
|
||||
|
||||
namespace JS::JIT {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue