Address post-commit comments for https://reviews.llvm.org/D29596. NFCI.

llvm-svn: 294985
This commit is contained in:
Taewook Oh 2017-02-13 21:12:27 +00:00
parent 259ad9cf08
commit 4d35f9e10e
1 changed files with 1 additions and 1 deletions

View File

@ -1155,7 +1155,7 @@ MachineBasicBlock::findDebugLoc(instr_iterator MBBI) {
/// Return UnknownLoc if there is none.
DebugLoc
MachineBasicBlock::findBranchDebugLoc() {
DebugLoc DL {};
DebugLoc DL;
auto TI = getFirstTerminator();
while (TI != end() && !TI->isBranch())
++TI;