| ... | ... | @@ -67,12 +67,6 @@ static void LLVMErrorHandler(void *UserData, const std::string &Message, |
| 67 | 67 | exit(GenCrashDiag ? 70 : 1); |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | | #ifdef LINK_POLLY_INTO_TOOLS |
| 71 | | namespace polly { |
| 72 | | void initializePollyPasses(llvm::PassRegistry &Registry); |
| 73 | | } |
| 74 | | #endif |
| 75 | | |
| 76 | 70 | #ifdef CLANG_HAVE_RLIMITS |
| 77 | 71 | #if defined(__linux__) && defined(__PIE__) |
| 78 | 72 | static size_t getCurrentStackAllocation() { |
| ... | ... | @@ -181,11 +175,6 @@ int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { |
| 181 | 175 | llvm::InitializeAllAsmPrinters(); |
| 182 | 176 | llvm::InitializeAllAsmParsers(); |
| 183 | 177 | |
| 184 | | #ifdef LINK_POLLY_INTO_TOOLS |
| 185 | | llvm::PassRegistry &Registry = *llvm::PassRegistry::getPassRegistry(); |
| 186 | | polly::initializePollyPasses(Registry); |
| 187 | | #endif |
| 188 | | |
| 189 | 178 | // Buffer diagnostics from argument parsing so that we can output them using a |
| 190 | 179 | // well formed diagnostic object. |
| 191 | 180 | IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions(); |