diff options
author | Devang Patel <dpatel@apple.com> | 2007-12-20 01:46:01 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2007-12-20 01:46:01 +0000 |
commit | fe085f3fde7676ddfc2241ed7ff4dbd68f88f326 (patch) | |
tree | 4d5604a384a1d6d87f0c6d226ae9ead30f773e8b /tools/lto/lto.cpp | |
parent | 54c005f465105459d60aafe04d0335d1a9d38ef6 (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.cpp | 5 |
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; } |