Rename CompactEncoding to CompactUnwindEncoding.
authorBill Wendling <isanbard@gmail.com>
Tue, 19 Jul 2011 00:00:58 +0000 (00:00 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 19 Jul 2011 00:00:58 +0000 (00:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135448 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineModuleInfo.h
lib/CodeGen/MachineModuleInfo.cpp

index 96f825991611af63461612e5ede470b4f138ca19..071c649a3ada948f81fd7d6d2354fdf535b504b1 100644 (file)
@@ -111,9 +111,9 @@ class MachineModuleInfo : public ImmutablePass {
   // frame maps by debug and exception handling consumers.
   std::vector<MachineMove> FrameMoves;
 
-  // CompactEncoding - If the target supports it, this is the compact unwind
-  // encoding. It replaces a function's CIE and FDE.
-  uint32_t CompactEncoding;
+  // CompactUnwindEncoding - If the target supports it, this is the compact
+  // unwind encoding. It replaces a function's CIE and FDE.
+  uint32_t CompactUnwindEncoding;
 
   // LandingPads - List of LandingPadInfo describing the landing pad information
   // in the current function.
@@ -234,10 +234,10 @@ public:
   /// handling comsumers.
   std::vector<MachineMove> &getFrameMoves() { return FrameMoves; }
 
-  /// getCompactEncoding - Returns the compact unwind encoding for a function if
-  /// the target supports the encoding. This encoding replaces a function's CIE
-  /// and FDE.
-  uint32_t getCompactEncoding() const { return CompactEncoding; }
+  /// getCompactUnwindEncoding - Returns the compact unwind encoding for a
+  /// function if the target supports the encoding. This encoding replaces a
+  /// function's CIE and FDE.
+  uint32_t getCompactUnwindEncoding() const { return CompactUnwindEncoding; }
 
   /// getAddrLabelSymbol - Return the symbol to be used for the specified basic
   /// block when its address is taken.  This cannot be its normal LBB label
index 652d2078ce2ecb04b516e7bba0b1e09abc20e016..33a3c6ec3ff032816cd454ac54012c03bbacc577 100644 (file)
@@ -257,7 +257,7 @@ MachineModuleInfo::MachineModuleInfo(const MCAsmInfo &MAI,
                                      const MCRegisterInfo &MRI,
                                      const TargetAsmInfo *TAI)
   : ImmutablePass(ID), Context(MAI, MRI, TAI),
-    ObjFileMMI(0), CompactEncoding(0), CurCallSite(0), CallsEHReturn(0),
+    ObjFileMMI(0), CompactUnwindEncoding(0), CurCallSite(0), CallsEHReturn(0),
     CallsUnwindInit(0), DbgInfoAvailable(false),
     CallsExternalVAFunctionWithFloatingPointArguments(false) {
   initializeMachineModuleInfoPass(*PassRegistry::getPassRegistry());
@@ -312,7 +312,7 @@ void MachineModuleInfo::EndFunction() {
   FilterEnds.clear();
   CallsEHReturn = 0;
   CallsUnwindInit = 0;
-  CompactEncoding = 0;
+  CompactUnwindEncoding = 0;
   VariableDbgInfo.clear();
 }