diff include/llvm/LinkAllPasses.h @ 35:503e14e069e4

update to LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 23:38:21 +0900
parents e4204d083e25
children 67baa08a3894
line wrap: on
line diff
--- a/include/llvm/LinkAllPasses.h	Thu Dec 12 15:22:36 2013 +0900
+++ b/include/llvm/LinkAllPasses.h	Thu Dec 12 23:38:21 2013 +0900
@@ -125,7 +125,11 @@
       (void) llvm::createStripNonDebugSymbolsPass();
       (void) llvm::createStripDeadDebugInfoPass();
       (void) llvm::createStripDeadPrototypesPass();
+#ifndef noCbC
+      (void) llvm::createTailCallEliminationPass(false);
+#else
       (void) llvm::createTailCallEliminationPass();
+#endif
       (void) llvm::createJumpThreadingPass();
       (void) llvm::createUnifyFunctionExitNodesPass();
       (void) llvm::createInstCountPass();