[llvm-commits] [llvm] r163061 - /llvm/trunk/tools/opt/opt.cpp
Logan Chien
tzuhsiang.chien at gmail.com
Sat Sep 1 07:43:30 PDT 2012
Author: logan
Date: Sat Sep 1 09:43:30 2012
New Revision: 163061
URL: http://llvm.org/viewvc/llvm-project?rev=163061&view=rev
Log:
Code cleanup: tools/opt/opt.cpp
Remove unused local variable.
Modified:
llvm/trunk/tools/opt/opt.cpp
Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=163061&r1=163060&r2=163061&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Sat Sep 1 09:43:30 2012
@@ -513,10 +513,6 @@
return 1;
}
- // Allocate a full target machine description only if necessary.
- // FIXME: The choice of target should be controllable on the command line.
- std::auto_ptr<TargetMachine> target;
-
SMDiagnostic Err;
// Load the input module...
More information about the llvm-commits
mailing list