aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/DataStructure')
-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: