Removing dep on xenia/types.h from alloy.
This commit is contained in:
@@ -16,12 +16,18 @@
|
||||
|
||||
#include <third_party/xbyak/xbyak/xbyak.h>
|
||||
|
||||
XEDECLARECLASS2(alloy, hir, HIRBuilder);
|
||||
XEDECLARECLASS2(alloy, hir, Instr);
|
||||
XEDECLARECLASS2(alloy, runtime, DebugInfo);
|
||||
XEDECLARECLASS2(alloy, runtime, FunctionInfo);
|
||||
XEDECLARECLASS2(alloy, runtime, Runtime);
|
||||
XEDECLARECLASS2(alloy, runtime, SymbolInfo);
|
||||
namespace alloy {
|
||||
namespace hir {
|
||||
class HIRBuilder;
|
||||
class Instr;
|
||||
} // namespace hir
|
||||
namespace runtime {
|
||||
class DebugInfo;
|
||||
class FunctionInfo;
|
||||
class Runtime;
|
||||
class SymbolInfo;
|
||||
} // namespace runtime
|
||||
} // namespace alloy
|
||||
|
||||
namespace alloy {
|
||||
namespace backend {
|
||||
|
||||
@@ -12,7 +12,11 @@
|
||||
|
||||
#include <alloy/core.h>
|
||||
|
||||
XEDECLARECLASS2(alloy, hir, Instr);
|
||||
namespace alloy {
|
||||
namespace hir {
|
||||
class Instr;
|
||||
} // namespace hir
|
||||
} // namespace alloy
|
||||
|
||||
namespace alloy {
|
||||
namespace backend {
|
||||
|
||||
@@ -13,7 +13,9 @@
|
||||
#include <alloy/arena.h>
|
||||
#include <alloy/core.h>
|
||||
|
||||
XEDECLARECLASS1(llvm, BitVector);
|
||||
namespace llvm {
|
||||
class BitVector;
|
||||
} // namespace llvm
|
||||
|
||||
namespace alloy {
|
||||
namespace hir {
|
||||
|
||||
@@ -12,7 +12,9 @@
|
||||
|
||||
#include <alloy/core.h>
|
||||
|
||||
XEDECLARECLASS1(alloy, Memory);
|
||||
namespace alloy {
|
||||
class Memory;
|
||||
} // namespace alloy
|
||||
|
||||
namespace alloy {
|
||||
namespace runtime {
|
||||
|
||||
@@ -13,9 +13,10 @@
|
||||
#include <memory>
|
||||
|
||||
#include <poly/string.h>
|
||||
#include <xenia/types.h>
|
||||
|
||||
#if XE_LIKE_WIN32
|
||||
#define XE_OPTION_PROFILING 1
|
||||
#endif // XE_LIKE_WIN32
|
||||
|
||||
#if XE_OPTION_PROFILING
|
||||
// Pollutes the global namespace. Yuck.
|
||||
|
||||
Reference in New Issue
Block a user