summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb8c608ea39eec94a9e6b23cdd8a6087e07e86a5e (patch)
tree98ef3a6b7036d99ccd01169f877a64de844333dc /llvm/lib/Target/NVPTX
parent7b78d359fbad5fa8a42367916e037d83c23c5f78 (diff)
downloadbcm5719-llvm-b8c608ea39eec94a9e6b23cdd8a6087e07e86a5e.tar.gz
bcm5719-llvm-b8c608ea39eec94a9e6b23cdd8a6087e07e86a5e.zip
Revert "Debug Info: clean up usage of Verify." as it's breaking bots.
This reverts commit r185020 llvm-svn: 185032
Diffstat (limited to 'llvm/lib/Target/NVPTX')
-rw-r--r--llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp b/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
index 8ceddf3b8c8..ff739315657 100644
--- a/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+++ b/llvm/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());
OpenPOWER on IntegriCloud