Skip to content

Commit 4e0bfff

Browse files
committed
tidy
1 parent 5cc4a3e commit 4e0bfff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/IR/BasicBlock.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,10 +1037,6 @@ void BasicBlock::insertDPValueAfter(DbgRecord *DPV, Instruction *I) {
10371037

10381038
void BasicBlock::insertDPValueBefore(DbgRecord *DPV,
10391039
InstListType::iterator Where) {
1040-
// We should never directly insert at the end of the block, new DPValues
1041-
// shouldn't be generated at times when there's no terminator.
1042-
// assert(Where != end()); // ^ No longer true. Create seperate method if
1043-
// needed?
10441040
assert(Where == end() || Where->getParent() == this);
10451041
bool InsertAtHead = Where.getHeadBit();
10461042
DPMarker *M = createMarker(Where);

0 commit comments

Comments
 (0)