summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-03-05 20:04:40 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-03-05 20:04:40 +0000
commitd2e88a21b74e7dcfc49527d3d8ef54a2aba5c984 (patch)
treed89bcefcefa382eb15f92b5acbba5f6793793bc1 /llvm/lib/Analysis/DataStructure
parent0c76d1146f0ebfc2057b866992e040adf3f2da0a (diff)
downloadbcm5719-llvm-d2e88a21b74e7dcfc49527d3d8ef54a2aba5c984.tar.gz
bcm5719-llvm-d2e88a21b74e7dcfc49527d3d8ef54a2aba5c984.zip
Unbreak the build on Sparc.
llvm-svn: 12161
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
-rw-r--r--llvm/lib/Analysis/DataStructure/Local.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp
index a5636e4234e..0e4ab1920e2 100644
--- a/llvm/lib/Analysis/DataStructure/Local.cpp
+++ b/llvm/lib/Analysis/DataStructure/Local.cpp
@@ -501,6 +501,8 @@ void GraphBuilder::visitCallSite(CallSite CS) {
getValueDest(*CS.getInstruction()).
mergeWith(getValueDest(**(CS.arg_begin())));
return;
+ // FIXME: the #undef is a quick fix for compilation on Sparc
+#undef va_end
case Intrinsic::va_end:
return; // noop
case Intrinsic::memmove:
OpenPOWER on IntegriCloud