summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-13 00:24:00 +0000
committerChris Lattner <sabre@nondot.org>2004-03-13 00:24:00 +0000
commit071a5e5649d40259c3ce78db0a1ebdb8b8ac6dea (patch)
tree98a5a02efdd9afa2259915d2050663d7e94f802b /llvm/lib/ExecutionEngine/Interpreter
parent022167f13b1dc2aef9916aaf228a5dbbdc6491eb (diff)
downloadbcm5719-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/ExecutionEngine/Interpreter')
-rw-r--r--llvm/lib/ExecutionEngine/Interpreter/Execution.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
index 953b0b4328a..456e2a8f3cb 100644
--- a/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
+++ b/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
@@ -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:
OpenPOWER on IntegriCloud