diff --git a/src/backend_x64/emit_x64.cpp b/src/backend_x64/emit_x64.cpp index 2b5ce435..c8354778 100644 --- a/src/backend_x64/emit_x64.cpp +++ b/src/backend_x64/emit_x64.cpp @@ -7,6 +7,7 @@ #include #include "backend_x64/abi.h" +#include "backend_x64/block_of_code.h" #include "backend_x64/emit_x64.h" #include "backend_x64/jitstate.h" #include "common/assert.h" diff --git a/src/backend_x64/emit_x64.h b/src/backend_x64/emit_x64.h index 1d3d61e1..10ef7745 100644 --- a/src/backend_x64/emit_x64.h +++ b/src/backend_x64/emit_x64.h @@ -13,7 +13,6 @@ #include -#include "backend_x64/block_of_code.h" #include "backend_x64/reg_alloc.h" #include "dynarmic/callbacks.h" #include "frontend/ir/location_descriptor.h" @@ -30,6 +29,8 @@ class Inst; namespace BackendX64 { +class BlockOfCode; + class EmitX64 final { public: EmitX64(BlockOfCode* code, UserCallbacks cb, Jit* jit_interface)