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 | 071a5e5649d40259c3ce78db0a1ebdb8b8ac6dea (patch) | |
tree | 98a5a02efdd9afa2259915d2050663d7e94f802b /llvm/lib/Analysis/DataStructure/Local.cpp | |
parent | 022167f13b1dc2aef9916aaf228a5dbbdc6491eb (diff) | |
download | bcm5719-llvm-071a5e5649d40259c3ce78db0a1ebdb8b8ac6dea.tar.gz bcm5719-llvm-071a5e5649d40259c3ce78db0a1ebdb8b8ac6dea.zip |
Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* to
Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file.
llvm-svn: 12356
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/Local.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp index 0e4ab1920e2..26bd17bde3f 100644 --- a/llvm/lib/Analysis/DataStructure/Local.cpp +++ b/llvm/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: { |