mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[CodeGen] Forward-declare TargetMachine (NFC)
InstrEmitter.h needs TargetMachine but relies on a forward declaration of TargetMachine in MachineOperand.h. This patch adds a forward declaration right in InstrEmitter.h. While we are at it, this patch removes the one in MachineOperand.h, where it is unnecessary.
This commit is contained in:
parent
4269bb7f57
commit
2fb5578408
@ -33,7 +33,6 @@ class MachineRegisterInfo;
|
||||
class MCCFIInstruction;
|
||||
class MDNode;
|
||||
class ModuleSlotTracker;
|
||||
class TargetMachine;
|
||||
class TargetIntrinsicInfo;
|
||||
class TargetRegisterInfo;
|
||||
class hash_code;
|
||||
|
@ -26,6 +26,7 @@ class MCInstrDesc;
|
||||
class SDDbgLabel;
|
||||
class SDDbgValue;
|
||||
class TargetLowering;
|
||||
class TargetMachine;
|
||||
|
||||
class LLVM_LIBRARY_VISIBILITY InstrEmitter {
|
||||
MachineFunction *MF;
|
||||
|
Loading…
Reference in New Issue
Block a user