aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/NVPTX
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-06-26 22:44:57 +0000
committerEric Christopher <echristo@gmail.com>2013-06-26 22:44:57 +0000
commit8479989ebe30f8fb9e14fbd5622fe0fd51988ff6 (patch)
treed58e3bf5f9df7599e4866263f580679dba8367d4 /lib/Target/NVPTX
parentb0a9ffaeb0cb3802da3611b95d3ea7f49f03f787 (diff)
downloadexternal_llvm-8479989ebe30f8fb9e14fbd5622fe0fd51988ff6.zip
external_llvm-8479989ebe30f8fb9e14fbd5622fe0fd51988ff6.tar.gz
external_llvm-8479989ebe30f8fb9e14fbd5622fe0fd51988ff6.tar.bz2
Revert "Debug Info: clean up usage of Verify." as it's breaking bots.
This reverts commit r185020 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185032 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX')
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/NVPTX/NVPTXAsmPrinter.cpp b/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
index 8ceddf3..ff73931 100644
--- a/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+++ b/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
@@ -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());