aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-29 22:32:02 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-29 22:32:02 +0000
commit7a6b9825cea828916c9f23293f167473b6a61d4e (patch)
treec14bc0ecae09bd2b93368ce290335adea37800dd /llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
parentb67076c0f85992b825d704889e0662753b54580d (diff)
downloadllvm-7a6b9825cea828916c9f23293f167473b6a61d4e.zip
llvm-7a6b9825cea828916c9f23293f167473b6a61d4e.tar.gz
llvm-7a6b9825cea828916c9f23293f167473b6a61d4e.tar.bz2
[WebAssembly] Minor clang-format and selected clang-tidy cleanups. NFC.
llvm-svn: 254267
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp')
-rw-r--r--llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
index 2ec1ea5f..7289104 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
@@ -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);
}
}