Browse Source

MachineRegionInfo.cpp: Another fix on MachineRegionInfo::MachineRegionInfo::recalculate() to appease msc17.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213476 91177308-0d34-0410-b5e6-96231b3b80d8
NAKAMURA Takumi 11 năm trước cách đây
mục cha
commit
1d55cc6828
1 tập tin đã thay đổi với 4 bổ sung5 xóa
  1. 4 5
      lib/CodeGen/MachineRegionInfo.cpp

+ 4 - 5
lib/CodeGen/MachineRegionInfo.cpp

@@ -49,11 +49,10 @@ void MachineRegionInfo::updateStatistics(MachineRegion *R) {
     ++numMachineSimpleRegions;
     ++numMachineSimpleRegions;
 }
 }
 
 
-void MachineRegionInfo::MachineRegionInfo::recalculate(
-  MachineFunction &F,
-  MachineDominatorTree *DT_,
-  MachinePostDominatorTree *PDT_,
-  MachineDominanceFrontier *DF_) {
+void MachineRegionInfo::recalculate(MachineFunction &F,
+                                    MachineDominatorTree *DT_,
+                                    MachinePostDominatorTree *PDT_,
+                                    MachineDominanceFrontier *DF_) {
   DT = DT_;
   DT = DT_;
   PDT = PDT_;
   PDT = PDT_;
   DF = DF_;
   DF = DF_;