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 | 317201d77354e6fc9547468ce827e1a7c30761d7 (patch) | |
tree | 17c59cf91f789591326f3f7b35df47f0e24a09a2 /lib/VMCore/Function.cpp | |
parent | bfe492b5c20a843028fb8e1736f81e703f789c1a (diff) |
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
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 43f3dc46ed..7d24916b65 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -234,9 +234,9 @@ unsigned Function::getIntrinsicID() const { if (getName() == "llvm.siglongjmp") return Intrinsic::siglongjmp; break; case 'v': - if (getName() == "llvm.va_copy") return Intrinsic::va_copy; - if (getName() == "llvm.va_end") return Intrinsic::va_end; - if (getName() == "llvm.va_start") return Intrinsic::va_start; + if (getName() == "llvm.va_copy") return Intrinsic::vacopy; + if (getName() == "llvm.va_end") return Intrinsic::vaend; + if (getName() == "llvm.va_start") return Intrinsic::vastart; break; } // The "llvm." namespace is reserved! |