[WebAssembly] Minor clang-format and selected clang-tidy cleanups. NFC.
[oota-llvm.git] / lib / Target / WebAssembly / WebAssemblyCFGStackify.cpp
index 2ec1ea5f65aa7aab319ef67b95a07868f0d86ca0..72891042216652f796b535cc10b8e05a543010ac 100644 (file)
@@ -225,7 +225,7 @@ static int GetLoopDepth(const MachineLoop *Loop) {
 }
 
 /// Insert a BLOCK marker for branches to MBB (if needed).
-static void PlaceBlockMarkers(MachineBasicBlock &MBB, MachineFunction &MF,
+static void PlaceBlockMarkers(MachineBasicBlock &MBB,
                               const WebAssemblyInstrInfo &TII,
                               MachineDominatorTree &MDT,
                               const MachineLoopInfo &MLI) {
@@ -307,7 +307,7 @@ static void PlaceMarkers(MachineFunction &MF, const MachineLoopInfo &MLI,
       }
 
     // Place the BLOCK for MBB if MBB is branched to from above.
-    PlaceBlockMarkers(MBB, MF, TII, MDT, MLI);
+    PlaceBlockMarkers(MBB, TII, MDT, MLI);
   }
 }