aboutsummaryrefslogtreecommitdiff
path: root/tools/lto/lto.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-12-20 01:46:01 +0000
committerDevang Patel <dpatel@apple.com>2007-12-20 01:46:01 +0000
commitfe085f3fde7676ddfc2241ed7ff4dbd68f88f326 (patch)
tree4d5604a384a1d6d87f0c6d226ae9ead30f773e8b /tools/lto/lto.cpp
parent54c005f465105459d60aafe04d0335d1a9d38ef6 (diff)
Revert my previous check-in.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/lto.cpp')
-rw-r--r--tools/lto/lto.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/lto/lto.cpp b/tools/lto/lto.cpp
index bc752340d5..e7e00e7f62 100644
--- a/tools/lto/lto.cpp
+++ b/tools/lto/lto.cpp
@@ -45,11 +45,8 @@
using namespace llvm;
extern "C"
-llvm::LinkTimeOptimizer *createLLVMOptimizer(unsigned VERSION)
+llvm::LinkTimeOptimizer *createLLVMOptimizer()
{
- if (VERSION != LLVM_LTO_VERSION)
- return NULL;
-
llvm::LTO *l = new llvm::LTO();
return l;
}