We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243b91a commit 0abf013Copy full SHA for 0abf013
lib/IRGen/IRGenDebugInfo.cpp
@@ -329,19 +329,6 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
329
}
330
return true;
331
332
-
333
- bool lineNumberIsSane(IRBuilder &Builder, unsigned Line) {
334
- if (IGM.IRGen.Opts.Optimize)
335
- return true;
336
337
- // Assert monotonically increasing line numbers within the same basic block;
338
- llvm::BasicBlock *CurBasicBlock = Builder.GetInsertBlock();
339
- if (CurBasicBlock == LastBasicBlock) {
340
- return Line >= LastDebugLoc.Line;
341
- }
342
- LastBasicBlock = CurBasicBlock;
343
344
345
#endif
346
347
llvm::DIFile *getOrCreateFile(StringRef Filename) {
0 commit comments