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
This commit is contained in:
Chris Lattner
2004-03-13 00:24:00 +00:00
parent bfe492b5c2
commit 317201d773
11 changed files with 39 additions and 44 deletions

View File

@ -774,16 +774,16 @@ void Interpreter::visitCallSite(CallSite CS) {
switch (F->getIntrinsicID()) {
case Intrinsic::not_intrinsic:
break;
case Intrinsic::va_start: { // va_start
case Intrinsic::vastart: { // va_start
GenericValue ArgIndex;
ArgIndex.UIntPairVal.first = ECStack.size() - 1;
ArgIndex.UIntPairVal.second = 0;
SetValue(CS.getInstruction(), ArgIndex, SF);
return;
}
case Intrinsic::va_end: // va_end is a noop for the interpreter
case Intrinsic::vaend: // va_end is a noop for the interpreter
return;
case Intrinsic::va_copy: // va_copy: dest = src
case Intrinsic::vacopy: // va_copy: dest = src
SetValue(CS.getInstruction(), getOperandValue(*CS.arg_begin(), SF), SF);
return;
default: