diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-13 00:24:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-13 00:24:00 +0000 |
commit | 317201d77354e6fc9547468ce827e1a7c30761d7 (patch) | |
tree | 17c59cf91f789591326f3f7b35df47f0e24a09a2 /lib/Analysis/DataStructure/Local.cpp | |
parent | bfe492b5c20a843028fb8e1736f81e703f789c1a (diff) |
Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* to
Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Local.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp index 0e4ab1920e..26bd17bde3 100644 --- a/lib/Analysis/DataStructure/Local.cpp +++ b/lib/Analysis/DataStructure/Local.cpp @@ -494,16 +494,14 @@ void GraphBuilder::visitCallSite(CallSite CS) { if (Function *F = dyn_cast<Function>(Callee)) if (F->isExternal()) switch (F->getIntrinsicID()) { - case Intrinsic::va_start: + case Intrinsic::vastart: getValueDest(*CS.getInstruction()).getNode()->setAllocaNodeMarker(); return; - case Intrinsic::va_copy: + case Intrinsic::vacopy: 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: + case Intrinsic::vaend: return; // noop case Intrinsic::memmove: case Intrinsic::memcpy: { |