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: