mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
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:
@ -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:
|
||||
|
Reference in New Issue
Block a user