diff options
author | Devang Patel <dpatel@apple.com> | 2010-03-08 19:20:38 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-03-08 19:20:38 +0000 |
commit | 0ef3fa6aabc80995c8a0bd829c85c89ef2d4c32d (patch) | |
tree | ac2bdb8ae1dae16aa3bf10c28e20c5a0ff80a1f9 /lib/CodeGen/MachineInstr.cpp | |
parent | dd6fbd11368b9d9ae82f8620a4aa7af9b8baf47c (diff) |
Revert r97947.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97963 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/MachineInstr.cpp b/lib/CodeGen/MachineInstr.cpp index 4c7cb8f3aa..e23670d1d1 100644 --- a/lib/CodeGen/MachineInstr.cpp +++ b/lib/CodeGen/MachineInstr.cpp @@ -1219,7 +1219,7 @@ void MachineInstr::print(raw_ostream &OS, const TargetMachine *TM) const { DIScope Scope = DLT.getScope(); OS << " dbg:"; // Omit the directory, since it's usually long and uninteresting. - if (Scope.Verify()) + if (!Scope.isNull()) OS << Scope.getFilename(); else OS << "<unknown>"; |