From a5f2905c71ea55ee28f9002eed974ead81dfc6f5 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 5 Mar 2004 20:04:40 +0000 Subject: [PATCH] Unbreak the build on Sparc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12161 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/Local.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index a5636e4234e..0e4ab1920e2 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: