[llvm-commits] [llvm] r157654 - /llvm/trunk/include/llvm/MC/MCRegisterInfo.h
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue May 29 17:05:03 PDT 2012
Author: stoklund
Date: Tue May 29 19:05:03 2012
New Revision: 157654
URL: http://llvm.org/viewvc/llvm-project?rev=157654&view=rev
Log:
Make DiffListIterator public to unbreak the gcc buildbots.
Apparently, a friend can't derive from a private class according to gcc.
Modified:
llvm/trunk/include/llvm/MC/MCRegisterInfo.h
Modified: llvm/trunk/include/llvm/MC/MCRegisterInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCRegisterInfo.h?rev=157654&r1=157653&r2=157654&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCRegisterInfo.h (original)
+++ llvm/trunk/include/llvm/MC/MCRegisterInfo.h Tue May 29 19:05:03 2012
@@ -166,6 +166,7 @@
const DwarfLLVMRegPair *EHDwarf2LRegs; // Dwarf to LLVM regs mapping EH
DenseMap<unsigned, int> L2SEHRegs; // LLVM to SEH regs mapping
+public:
/// DiffListIterator - Base iterator class that can traverse the
/// differentially encoded register and regunit lists in DiffLists.
/// Don't use this class directly, use one of the specialized sub-classes
@@ -216,7 +217,6 @@
// internal list pointers.
friend class MCRegUnitIterator;
-public:
/// InitMCRegisterInfo - Initialize MCRegisterInfo, called by TableGen
/// auto-generated routines. *DO NOT USE*.
void InitMCRegisterInfo(const MCRegisterDesc *D, unsigned NR, unsigned RA,
More information about the llvm-commits
mailing list