diff options
author | Chris Lattner <sabre@nondot.org> | 2004-03-13 00:24:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-03-13 00:24:00 +0000 |
commit | 071a5e5649d40259c3ce78db0a1ebdb8b8ac6dea (patch) | |
tree | 98a5a02efdd9afa2259915d2050663d7e94f802b /llvm/lib/VMCore/Verifier.cpp | |
parent | 022167f13b1dc2aef9916aaf228a5dbbdc6491eb (diff) | |
download | bcm5719-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/VMCore/Verifier.cpp')
-rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index dfac6b94cf3..1e3c3c779a7 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -548,14 +548,14 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { // FIXME: this should check the return type of each intrinsic as well, also // arguments! switch (ID) { - case Intrinsic::va_start: + case Intrinsic::vastart: Assert1(CI.getParent()->getParent()->getFunctionType()->isVarArg(), "llvm.va_start intrinsic may only occur in function with variable" " args!", &CI); NumArgs = 0; break; - case Intrinsic::va_end: NumArgs = 1; break; - case Intrinsic::va_copy: NumArgs = 1; break; + case Intrinsic::vaend: NumArgs = 1; break; + case Intrinsic::vacopy: NumArgs = 1; break; case Intrinsic::returnaddress: case Intrinsic::frameaddress: |