mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Remove the MCInstrInfo cached variable as it was only used in a
single place and replace calls to getSubtargetImpl with calls to get the subtarget from the MachineFunction where valid. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229971 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -46,7 +46,6 @@ class MCCFIInstruction;
|
||||
class MCContext;
|
||||
class MCExpr;
|
||||
class MCInst;
|
||||
class MCInstrInfo;
|
||||
class MCSection;
|
||||
class MCStreamer;
|
||||
class MCSubtargetInfo;
|
||||
@@ -69,7 +68,6 @@ public:
|
||||
///
|
||||
const MCAsmInfo *MAI;
|
||||
|
||||
const MCInstrInfo *MII;
|
||||
/// This is the context for the output file that we are streaming. This owns
|
||||
/// all of the global MC-related objects for the generated translation unit.
|
||||
MCContext &OutContext;
|
||||
|
||||
Reference in New Issue
Block a user