about summary refs log tree commit diff homepage
path: root/lib/Module
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Module')
-rw-r--r--lib/Module/Optimize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Module/Optimize.cpp b/lib/Module/Optimize.cpp
index d05002fe..6da9a2c1 100644
--- a/lib/Module/Optimize.cpp
+++ b/lib/Module/Optimize.cpp
@@ -199,7 +199,7 @@ void Optimize(Module* M) {
     // internal.
     if (!DisableInternalize) {
 #if LLVM_VERSION_CODE >= LLVM_VERSION(3, 2)
-      ModulePass *pass = createInternalizePass(createInternalizePass(std::vector<const char *>(1, "main"));
+      ModulePass *pass = createInternalizePass(std::vector<const char *>(1, "main"));
 #else
       ModulePass *pass = createInternalizePass(true);
 #endif