From: Misha Brukman Date: Fri, 5 Mar 2004 20:04:40 +0000 (+0000) Subject: Unbreak the build on Sparc. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a5f2905c71ea55ee28f9002eed974ead81dfc6f5;p=oota-llvm.git Unbreak the build on Sparc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12161 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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: