Fix NDEBUG build problem in r320895
authorTeresa Johnson <tejohnson@google.com>
Sat, 16 Dec 2017 00:29:31 +0000 (00:29 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sat, 16 Dec 2017 00:29:31 +0000 (00:29 +0000)
Fix incorrect placement of #endif causing NDEBUG build failures.

llvm-svn: 320897

llvm/lib/Transforms/IPO/FunctionImport.cpp

index 400fd49..927c4f5 100644 (file)
@@ -444,8 +444,8 @@ static void dumpImportListForModule(StringRef ModulePath,
     DEBUG(dbgs() << " - " << Src.second.size() << " functions imported from "
                  << SrcModName << "\n");
   }
-#endif
 }
+#endif
 
 /// Compute all the imports for the given module in the Index.
 void llvm::ComputeCrossModuleImportForModule(