Revert "Debug Info: clean up usage of Verify." as it's breaking bots.
[oota-llvm.git] / lib / Target / NVPTX / NVPTXAsmPrinter.cpp
index 8ceddf3b8c813039c27165fd6eae55532a46792a..ff739315657d98e9c23f639db92563fe95023915 100644 (file)
@@ -279,7 +279,7 @@ void NVPTXAsmPrinter::emitLineNumberAsDotLoc(const MachineInstr &MI) {
   const LLVMContext &ctx = MF->getFunction()->getContext();
   DIScope Scope(curLoc.getScope(ctx));
 
-  if (!Scope.isScope())
+  if (!Scope.Verify())
     return;
 
   StringRef fileName(Scope.getFilename());