Sentenc-ify comment added in r174206.
Based on post-commit review by Paul Robinson. llvm-svn: 174248
This commit is contained in:
parent
f85744235b
commit
cbf40d22bf
|
@ -144,8 +144,8 @@ void CodeGenFunction::EmitReturnBlock() {
|
|||
if (BI && BI->isUnconditional() &&
|
||||
BI->getSuccessor(0) == ReturnBlock.getBlock()) {
|
||||
// Reset insertion point, including debug location, and delete the branch.
|
||||
// this is really subtle & only works because the next change in location
|
||||
// will hit the caching in CGDebugInfo::EmitLocation & not override this
|
||||
// This is really subtle & only works because the next change in location
|
||||
// will hit the caching in CGDebugInfo::EmitLocation & not override this.
|
||||
Builder.SetCurrentDebugLocation(BI->getDebugLoc());
|
||||
Builder.SetInsertPoint(BI->getParent());
|
||||
BI->eraseFromParent();
|
||||
|
|
Loading…
Reference in New Issue