[llvm-commits] [llvm] r158090 - in /llvm/trunk: include/llvm/CodeGen/ lib/CodeGen/ lib/Target/ARM/ lib/Target/MBlaze/ lib/Target/MSP430/ lib/Target/X86/ lib/Transforms/Utils/ tools/llvm-diff/ tools/lto/ utils/TableGen/
Jim Grosbach
grosbach at apple.com
Wed Jun 6 11:59:39 PDT 2012
Nice!
On Jun 6, 2012, at 11:25 AM, Benjamin Kramer <benny.kra at googlemail.com> wrote:
> Author: d0k
> Date: Wed Jun 6 13:25:08 2012
> New Revision: 158090
>
> URL: http://llvm.org/viewvc/llvm-project?rev=158090&view=rev
> Log:
> Remove unused private fields found by clang's new -Wunused-private-field.
>
> There are some that I didn't remove this round because they looked like
> obvious stubs. There are dead variables in gtest too, they should be
> fixed upstream.
>
> Modified:
> llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h
> llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
> llvm/trunk/lib/CodeGen/RegAllocBasic.cpp
> llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
> llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
> llvm/trunk/lib/CodeGen/RegisterCoalescer.h
> llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
> llvm/trunk/lib/Target/ARM/Thumb2ITBlockPass.cpp
> llvm/trunk/lib/Target/MBlaze/MBlazeAsmPrinter.cpp
> llvm/trunk/lib/Target/MBlaze/MBlazeMCInstLower.h
> llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp
> llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
> llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h
> llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.cpp
> llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.h
> llvm/trunk/lib/Target/MSP430/MSP430MCInstLower.h
> llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
> llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp
> llvm/trunk/tools/llvm-diff/DiffConsumer.h
> llvm/trunk/tools/llvm-diff/DifferenceEngine.h
> llvm/trunk/tools/llvm-diff/llvm-diff.cpp
> llvm/trunk/tools/lto/LTOCodeGenerator.h
> llvm/trunk/utils/TableGen/FastISelEmitter.cpp
> llvm/trunk/utils/TableGen/FastISelEmitter.h
>
> Modified: llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h (original)
> +++ llvm/trunk/include/llvm/CodeGen/ScheduleDAGInstrs.h Wed Jun 6 13:25:08 2012
> @@ -36,7 +36,6 @@
> /// scheduled as soon as possible after the variable's last use.
> ///
> class LoopDependencies {
> - const MachineLoopInfo &MLI;
> const MachineDominatorTree &MDT;
>
> public:
> @@ -44,9 +43,7 @@
> LoopDeps;
> LoopDeps Deps;
>
> - LoopDependencies(const MachineLoopInfo &mli,
> - const MachineDominatorTree &mdt) :
> - MLI(mli), MDT(mdt) {}
> + LoopDependencies(const MachineDominatorTree &mdt) : MDT(mdt) {}
>
> /// VisitLoop - Clear out any previous state and analyze the given loop.
> ///
>
> Modified: llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp (original)
> +++ llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp Wed Jun 6 13:25:08 2012
> @@ -78,7 +78,6 @@
>
> namespace {
> class PostRAScheduler : public MachineFunctionPass {
> - AliasAnalysis *AA;
> const TargetInstrInfo *TII;
> RegisterClassInfo RegClassInfo;
>
>
> Modified: llvm/trunk/lib/CodeGen/RegAllocBasic.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocBasic.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/RegAllocBasic.cpp (original)
> +++ llvm/trunk/lib/CodeGen/RegAllocBasic.cpp Wed Jun 6 13:25:08 2012
> @@ -65,7 +65,6 @@
> MachineFunction *MF;
>
> // analyses
> - LiveStacks *LS;
> RenderMachineFunction *RMF;
>
> // state
>
> Modified: llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp (original)
> +++ llvm/trunk/lib/CodeGen/RegAllocPBQP.cpp Wed Jun 6 13:25:08 2012
> @@ -375,7 +375,7 @@
> PBQP::Graph &g = p->getGraph();
>
> const TargetMachine &tm = mf->getTarget();
> - CoalescerPair cp(*tm.getInstrInfo(), *tm.getRegisterInfo());
> + CoalescerPair cp(*tm.getRegisterInfo());
>
> // Scan the machine function and add a coalescing cost whenever CoalescerPair
> // gives the Ok.
>
> Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp (original)
> +++ llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp Wed Jun 6 13:25:08 2012
> @@ -939,7 +939,7 @@
> Again = false;
> DEBUG(dbgs() << LIS->getInstructionIndex(CopyMI) << '\t' << *CopyMI);
>
> - CoalescerPair CP(*TII, *TRI);
> + CoalescerPair CP(*TRI);
> if (!CP.setRegisters(CopyMI)) {
> DEBUG(dbgs() << "\tNot coalescable.\n");
> return false;
>
> Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/RegisterCoalescer.h (original)
> +++ llvm/trunk/lib/CodeGen/RegisterCoalescer.h Wed Jun 6 13:25:08 2012
> @@ -26,7 +26,6 @@
> /// two registers can be coalesced, CoalescerPair can determine if a copy
> /// instruction would become an identity copy after coalescing.
> class CoalescerPair {
> - const TargetInstrInfo &TII;
> const TargetRegisterInfo &TRI;
>
> /// DstReg - The register that will be left after coalescing. It can be a
> @@ -60,8 +59,8 @@
> const TargetRegisterClass *NewRC;
>
> public:
> - CoalescerPair(const TargetInstrInfo &tii, const TargetRegisterInfo &tri)
> - : TII(tii), TRI(tri), DstReg(0), SrcReg(0), DstIdx(0), SrcIdx(0),
> + CoalescerPair(const TargetRegisterInfo &tri)
> + : TRI(tri), DstReg(0), SrcReg(0), DstIdx(0), SrcIdx(0),
> Partial(false), CrossClass(false), Flipped(false), NewRC(0) {}
>
> /// setRegisters - set registers to match the copy instruction MI. Return
>
> Modified: llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp (original)
> +++ llvm/trunk/lib/CodeGen/ScheduleDAGInstrs.cpp Wed Jun 6 13:25:08 2012
> @@ -47,7 +47,7 @@
> : ScheduleDAG(mf), MLI(mli), MDT(mdt), MFI(mf.getFrameInfo()),
> InstrItins(mf.getTarget().getInstrItineraryData()), LIS(lis),
> IsPostRA(IsPostRAFlag), UnitLatencies(false), CanHandleTerminators(false),
> - LoopRegs(MLI, MDT), FirstDbgValue(0) {
> + LoopRegs(MDT), FirstDbgValue(0) {
> assert((IsPostRA || LIS) && "PreRA scheduling requires LiveIntervals");
> DbgValues.clear();
> assert(!(IsPostRA && MRI.getNumVirtRegs()) &&
>
> Modified: llvm/trunk/lib/Target/ARM/Thumb2ITBlockPass.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Thumb2ITBlockPass.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/ARM/Thumb2ITBlockPass.cpp (original)
> +++ llvm/trunk/lib/Target/ARM/Thumb2ITBlockPass.cpp Wed Jun 6 13:25:08 2012
> @@ -24,8 +24,6 @@
>
> namespace {
> class Thumb2ITBlockPass : public MachineFunctionPass {
> - bool PreRegAlloc;
> -
> public:
> static char ID;
> Thumb2ITBlockPass() : MachineFunctionPass(ID) {}
>
> Modified: llvm/trunk/lib/Target/MBlaze/MBlazeAsmPrinter.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MBlaze/MBlazeAsmPrinter.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MBlaze/MBlazeAsmPrinter.cpp (original)
> +++ llvm/trunk/lib/Target/MBlaze/MBlazeAsmPrinter.cpp Wed Jun 6 13:25:08 2012
> @@ -187,7 +187,7 @@
>
> //===----------------------------------------------------------------------===//
> void MBlazeAsmPrinter::EmitInstruction(const MachineInstr *MI) {
> - MBlazeMCInstLower MCInstLowering(OutContext, *Mang, *this);
> + MBlazeMCInstLower MCInstLowering(OutContext, *this);
>
> MCInst TmpInst;
> MCInstLowering.Lower(MI, TmpInst);
>
> Modified: llvm/trunk/lib/Target/MBlaze/MBlazeMCInstLower.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MBlaze/MBlazeMCInstLower.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MBlaze/MBlazeMCInstLower.h (original)
> +++ llvm/trunk/lib/Target/MBlaze/MBlazeMCInstLower.h Wed Jun 6 13:25:08 2012
> @@ -21,18 +21,16 @@
> class MachineInstr;
> class MachineModuleInfoMachO;
> class MachineOperand;
> - class Mangler;
>
> /// MBlazeMCInstLower - This class is used to lower an MachineInstr
> /// into an MCInst.
> class LLVM_LIBRARY_VISIBILITY MBlazeMCInstLower {
> MCContext &Ctx;
> - Mangler &Mang;
>
> AsmPrinter &Printer;
> public:
> - MBlazeMCInstLower(MCContext &ctx, Mangler &mang, AsmPrinter &printer)
> - : Ctx(ctx), Mang(mang), Printer(printer) {}
> + MBlazeMCInstLower(MCContext &ctx, AsmPrinter &printer)
> + : Ctx(ctx), Printer(printer) {}
> void Lower(const MachineInstr *MI, MCInst &OutMI) const;
>
> MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
>
> Modified: llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp (original)
> +++ llvm/trunk/lib/Target/MSP430/MSP430AsmPrinter.cpp Wed Jun 6 13:25:08 2012
> @@ -154,7 +154,7 @@
>
> //===----------------------------------------------------------------------===//
> void MSP430AsmPrinter::EmitInstruction(const MachineInstr *MI) {
> - MSP430MCInstLower MCInstLowering(OutContext, *Mang, *this);
> + MSP430MCInstLower MCInstLowering(OutContext, *this);
>
> MCInst TmpInst;
> MCInstLowering.Lower(MI, TmpInst);
>
> Modified: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp (original)
> +++ llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.cpp Wed Jun 6 13:25:08 2012
> @@ -59,7 +59,7 @@
>
> MSP430TargetLowering::MSP430TargetLowering(MSP430TargetMachine &tm) :
> TargetLowering(tm, new TargetLoweringObjectFileELF()),
> - Subtarget(*tm.getSubtargetImpl()), TM(tm) {
> + Subtarget(*tm.getSubtargetImpl()) {
>
> TD = getTargetData();
>
>
> Modified: llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h (original)
> +++ llvm/trunk/lib/Target/MSP430/MSP430ISelLowering.h Wed Jun 6 13:25:08 2012
> @@ -169,7 +169,6 @@
> SelectionDAG &DAG) const;
>
> const MSP430Subtarget &Subtarget;
> - const MSP430TargetMachine &TM;
> const TargetData *TD;
> };
> } // namespace llvm
>
> Modified: llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.cpp (original)
> +++ llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.cpp Wed Jun 6 13:25:08 2012
> @@ -29,7 +29,7 @@
>
> MSP430InstrInfo::MSP430InstrInfo(MSP430TargetMachine &tm)
> : MSP430GenInstrInfo(MSP430::ADJCALLSTACKDOWN, MSP430::ADJCALLSTACKUP),
> - RI(tm, *this), TM(tm) {}
> + RI(tm, *this) {}
>
> void MSP430InstrInfo::storeRegToStackSlot(MachineBasicBlock &MBB,
> MachineBasicBlock::iterator MI,
>
> Modified: llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.h (original)
> +++ llvm/trunk/lib/Target/MSP430/MSP430InstrInfo.h Wed Jun 6 13:25:08 2012
> @@ -42,7 +42,6 @@
>
> class MSP430InstrInfo : public MSP430GenInstrInfo {
> const MSP430RegisterInfo RI;
> - MSP430TargetMachine &TM;
> public:
> explicit MSP430InstrInfo(MSP430TargetMachine &TM);
>
>
> Modified: llvm/trunk/lib/Target/MSP430/MSP430MCInstLower.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MSP430/MSP430MCInstLower.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/MSP430/MSP430MCInstLower.h (original)
> +++ llvm/trunk/lib/Target/MSP430/MSP430MCInstLower.h Wed Jun 6 13:25:08 2012
> @@ -21,18 +21,16 @@
> class MachineInstr;
> class MachineModuleInfoMachO;
> class MachineOperand;
> - class Mangler;
>
> /// MSP430MCInstLower - This class is used to lower an MachineInstr
> /// into an MCInst.
> class LLVM_LIBRARY_VISIBILITY MSP430MCInstLower {
> MCContext &Ctx;
> - Mangler &Mang;
>
> AsmPrinter &Printer;
> public:
> - MSP430MCInstLower(MCContext &ctx, Mangler &mang, AsmPrinter &printer)
> - : Ctx(ctx), Mang(mang), Printer(printer) {}
> + MSP430MCInstLower(MCContext &ctx, AsmPrinter &printer)
> + : Ctx(ctx), Printer(printer) {}
> void Lower(const MachineInstr *MI, MCInst &OutMI) const;
>
> MCOperand LowerSymbolOperand(const MachineOperand &MO, MCSymbol *Sym) const;
>
> Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/X86InstrInfo.cpp (original)
> +++ llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Wed Jun 6 13:25:08 2012
> @@ -4057,9 +4057,6 @@
> AU.setPreservesCFG();
> MachineFunctionPass::getAnalysisUsage(AU);
> }
> -
> - private:
> - unsigned BaseReg;
> };
> }
>
>
> Modified: llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp (original)
> +++ llvm/trunk/lib/Transforms/Utils/SimplifyIndVar.cpp Wed Jun 6 13:25:08 2012
> @@ -16,7 +16,6 @@
> #define DEBUG_TYPE "indvars"
>
> #include "llvm/Instructions.h"
> -#include "llvm/Analysis/Dominators.h"
> #include "llvm/Analysis/IVUsers.h"
> #include "llvm/Analysis/LoopInfo.h"
> #include "llvm/Analysis/LoopPass.h"
> @@ -44,7 +43,6 @@
> class SimplifyIndvar {
> Loop *L;
> LoopInfo *LI;
> - DominatorTree *DT;
> ScalarEvolution *SE;
> const TargetData *TD; // May be NULL
>
>
> Modified: llvm/trunk/tools/llvm-diff/DiffConsumer.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-diff/DiffConsumer.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/tools/llvm-diff/DiffConsumer.h (original)
> +++ llvm/trunk/tools/llvm-diff/DiffConsumer.h Wed Jun 6 13:25:08 2012
> @@ -67,8 +67,6 @@
> };
>
> raw_ostream &out;
> - Module *LModule;
> - Module *RModule;
> SmallVector<DiffContext, 5> contexts;
> bool Differences;
> unsigned Indent;
> @@ -78,8 +76,8 @@
> void indent();
>
> public:
> - DiffConsumer(Module *L, Module *R)
> - : out(errs()), LModule(L), RModule(R), Differences(false), Indent(0) {}
> + DiffConsumer()
> + : out(errs()), Differences(false), Indent(0) {}
>
> bool hadDifferences() const;
> void enterContext(Value *L, Value *R);
>
> Modified: llvm/trunk/tools/llvm-diff/DifferenceEngine.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-diff/DifferenceEngine.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/tools/llvm-diff/DifferenceEngine.h (original)
> +++ llvm/trunk/tools/llvm-diff/DifferenceEngine.h Wed Jun 6 13:25:08 2012
> @@ -59,8 +59,8 @@
> virtual ~Oracle() {}
> };
>
> - DifferenceEngine(LLVMContext &context, Consumer &consumer)
> - : context(context), consumer(consumer), globalValueOracle(0) {}
> + DifferenceEngine(Consumer &consumer)
> + : consumer(consumer), globalValueOracle(0) {}
>
> void diff(Module *L, Module *R);
> void diff(Function *L, Function *R);
> @@ -84,7 +84,6 @@
> bool equivalentAsOperands(GlobalValue *L, GlobalValue *R);
>
> private:
> - LLVMContext &context;
> Consumer &consumer;
> Oracle *globalValueOracle;
> };
>
> Modified: llvm/trunk/tools/llvm-diff/llvm-diff.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-diff/llvm-diff.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/tools/llvm-diff/llvm-diff.cpp (original)
> +++ llvm/trunk/tools/llvm-diff/llvm-diff.cpp Wed Jun 6 13:25:08 2012
> @@ -78,8 +78,8 @@
> Module *RModule = ReadModule(Context, RightFilename);
> if (!LModule || !RModule) return 1;
>
> - DiffConsumer Consumer(LModule, RModule);
> - DifferenceEngine Engine(Context, Consumer);
> + DiffConsumer Consumer;
> + DifferenceEngine Engine(Consumer);
>
> // If any global names were given, just diff those.
> if (!GlobalsToCompare.empty()) {
>
> Modified: llvm/trunk/tools/lto/LTOCodeGenerator.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/tools/lto/LTOCodeGenerator.h (original)
> +++ llvm/trunk/tools/lto/LTOCodeGenerator.h Wed Jun 6 13:25:08 2012
> @@ -70,7 +70,6 @@
> llvm::TargetMachine* _target;
> bool _emitDwarfDebugInfo;
> bool _scopeRestrictionsDone;
> - bool _runInternalizePass;
> lto_codegen_model _codeModel;
> StringSet _mustPreserveSymbols;
> StringSet _asmUndefinedRefs;
>
> Modified: llvm/trunk/utils/TableGen/FastISelEmitter.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/FastISelEmitter.cpp?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/utils/TableGen/FastISelEmitter.cpp (original)
> +++ llvm/trunk/utils/TableGen/FastISelEmitter.cpp Wed Jun 6 13:25:08 2012
> @@ -867,6 +867,6 @@
> }
>
> FastISelEmitter::FastISelEmitter(RecordKeeper &R)
> - : Records(R), CGP(R) {
> + : CGP(R) {
> }
>
>
> Modified: llvm/trunk/utils/TableGen/FastISelEmitter.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/FastISelEmitter.h?rev=158090&r1=158089&r2=158090&view=diff
> ==============================================================================
> --- llvm/trunk/utils/TableGen/FastISelEmitter.h (original)
> +++ llvm/trunk/utils/TableGen/FastISelEmitter.h Wed Jun 6 13:25:08 2012
> @@ -25,7 +25,6 @@
> /// and emission of the instruction selector.
> ///
> class FastISelEmitter : public TableGenBackend {
> - RecordKeeper &Records;
> CodeGenDAGPatterns CGP;
> public:
> explicit FastISelEmitter(RecordKeeper &R);
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list