[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 12 18:24:19 PST 2004
Changes in directory llvm/lib/ExecutionEngine/Interpreter:
Execution.cpp updated: 1.124 -> 1.125
---
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 -3)
Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.124 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.125
--- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.124 Wed Feb 25 17:01:48 2004
+++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Fri Mar 12 18:23:29 2004
@@ -774,16 +774,16 @@
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:
More information about the llvm-commits
mailing list