[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/Local.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 12 18:24:10 PST 2004
Changes in directory llvm/lib/Analysis/DataStructure:
Local.cpp updated: 1.100 -> 1.101
---
Log message:
Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* to
Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file.
---
Diffs of the changes: (+3 -5)
Index: llvm/lib/Analysis/DataStructure/Local.cpp
diff -u llvm/lib/Analysis/DataStructure/Local.cpp:1.100 llvm/lib/Analysis/DataStructure/Local.cpp:1.101
--- llvm/lib/Analysis/DataStructure/Local.cpp:1.100 Fri Mar 5 14:04:40 2004
+++ llvm/lib/Analysis/DataStructure/Local.cpp Fri Mar 12 18:23:25 2004
@@ -494,16 +494,14 @@
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: {
More information about the llvm-commits
mailing list