diff options
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp index 4feb624673d..4db5d1c2ea1 100644 --- a/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp +++ b/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp @@ -105,6 +105,7 @@ IRTranslator::IRTranslator() : MachineFunctionPass(ID) { } #ifndef NDEBUG +namespace { /// Verify that every instruction created has the same DILocation as the /// instruction being translated. class DILocationVerifier : MachineFunction::Delegate { @@ -131,6 +132,7 @@ public: } void MF_HandleRemoval(const MachineInstr &MI) override {} }; +} // namespace #endif // ifndef NDEBUG |