summaryrefslogtreecommitdiff
path: root/tools/bugpoint/ToolRunner.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-11 21:24:52 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-11 21:24:52 +0000
commit84f9abe3f59905e06d63c799ea965e97c7566c83 (patch)
tree4be69cdbc59a94ea0cbcff3715810dfa9eeb4414 /tools/bugpoint/ToolRunner.cpp
parentd0cca2415099e80bd11e6b2090896719b07afd93 (diff)
downloadllvm-84f9abe3f59905e06d63c799ea965e97c7566c83.tar.gz
llvm-84f9abe3f59905e06d63c799ea965e97c7566c83.tar.bz2
llvm-84f9abe3f59905e06d63c799ea965e97c7566c83.tar.xz
Fix unused function warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/ToolRunner.cpp')
-rw-r--r--tools/bugpoint/ToolRunner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp
index 7087cdd3d1..e00a2b93a0 100644
--- a/tools/bugpoint/ToolRunner.cpp
+++ b/tools/bugpoint/ToolRunner.cpp
@@ -543,6 +543,7 @@ CBE *AbstractInterpreter::createCBE(const std::string &ProgramPath,
// GCC abstraction
//
+#ifdef __APPLE__
static bool
IsARMArchitecture(std::vector<std::string> Args)
{
@@ -558,6 +559,7 @@ IsARMArchitecture(std::vector<std::string> Args)
return false;
}
+#endif
int GCC::ExecuteProgram(const std::string &ProgramFile,
const std::vector<std::string> &Args,