From 282029f60a046d79353341fc14281937abf2db4c Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 4 Dec 2016 23:14:58 -0500 Subject: [PATCH] emit_x64: Forward declare BlockOfCode --- src/backend_x64/emit_x64.cpp | 1 + src/backend_x64/emit_x64.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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)