Clear debug loc while updating insert point.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134431 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel 2011-07-05 18:58:22 +00:00
parent 338398a288
commit 15cf76ca75

View File

@ -73,6 +73,7 @@ public:
void SetInsertPoint(BasicBlock *TheBB) {
BB = TheBB;
InsertPt = BB->end();
CurDbgLocation = DebugLoc();
}
/// SetInsertPoint - This specifies that created instructions should be