[llvm-commits] [PATCH] Remove dead code in opt.cpp
Logan Chien
tzuhsiang.chien at gmail.com
Tue Aug 28 19:55:58 PDT 2012
Dear all,
It seems that there is a piece of dead code in tools/opt/opt.cpp. Note:
"target"
has become a unused local variable. The attached patch is removing
following
lines. Please review. Thanks!
Sincerely,
Logan
p.s. tools/opt/opt.cpp: 515
// 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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120829/069a7c7a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Remove-dead-code-in-opt.patch
Type: application/octet-stream
Size: 749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120829/069a7c7a/attachment.obj>
More information about the llvm-commits
mailing list