aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/Local.cpp
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
commita5f2905c71ea55ee28f9002eed974ead81dfc6f5 (patch)
treeb3309787413c07e7a99c6021613d80bca8d5eb74 /lib/Analysis/DataStructure/Local.cpp
parent62aa28aef392ccde76888dbb444c567d3f95ef8a (diff)
Unbreak the build on Sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12161 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index a5636e4234..0e4ab1920e 100644
--- a/lib/Analysis/DataStructure/Local.cpp
+++ b/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: