OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2ac552
)
Code cleanup: tools/opt/opt.cpp
author
Logan Chien
<tzuhsiang.chien@gmail.com>
Sat, 1 Sep 2012 14:43:30 +0000
(14:43 +0000)
committer
Logan Chien
<tzuhsiang.chien@gmail.com>
Sat, 1 Sep 2012 14:43:30 +0000
(14:43 +0000)
Remove unused local variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163061
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/opt/opt.cpp
patch
|
blob
|
history
diff --git
a/tools/opt/opt.cpp
b/tools/opt/opt.cpp
index
4ada7d1
..
7ecd25c
100644
(file)
--- a/
tools/opt/opt.cpp
+++ b/
tools/opt/opt.cpp
@@
-513,10
+513,6
@@
int main(int argc, char **argv) {
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...