summaryrefslogtreecommitdiff
path: root/tools/llc
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-03 04:20:57 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-03 04:20:57 +0000
commit4bd03abe593222b26e84066223feb321bf738625 (patch)
tree591cb633cfb9cf878cfe3de17e10dcd92d0210d4 /tools/llc
parent9072c8198de8730a1332ca5e03a2a597631b7615 (diff)
Remove now unused arguments from TargetRegistry::lookupTarget.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llc')
-rw-r--r--tools/llc/llc.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index e3468575142..5782e422457 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -265,10 +265,7 @@ int main(int argc, char **argv) {
TheTriple.setArch(Type);
} else {
std::string Err;
- TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(),
- /*FallbackToHost=*/false,
- /*RequireJIT=*/false,
- Err);
+ TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), Err);
if (TheTarget == 0) {
errs() << argv[0] << ": error auto-selecting target for module '"
<< Err << "'. Please use the -march option to explicitly "