diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2006-09-17 20:25:45 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2006-09-17 20:25:45 +0000 |
commit | 6f7072c66a84a26644572efb1a0ba35bb7e70732 (patch) | |
tree | c3f37b02038c1aa88e40a67b768f86f21bb1347d /llvm/lib/VMCore/Verifier.cpp | |
parent | f16dc007e652c6d935abef319db8f0cbc9912416 (diff) | |
download | bcm5719-llvm-6f7072c66a84a26644572efb1a0ba35bb7e70732.tar.gz bcm5719-llvm-6f7072c66a84a26644572efb1a0ba35bb7e70732.zip |
Added some eye-candy for Subtarget type checking
Added X86 StdCall & FastCall calling conventions. Codegen will follow.
llvm-svn: 30446
Diffstat (limited to 'llvm/lib/VMCore/Verifier.cpp')
-rw-r--r-- | llvm/lib/VMCore/Verifier.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Verifier.cpp b/llvm/lib/VMCore/Verifier.cpp index cbef68b7dc3..57c09bb8c41 100644 --- a/llvm/lib/VMCore/Verifier.cpp +++ b/llvm/lib/VMCore/Verifier.cpp @@ -332,6 +332,7 @@ void Verifier::visitFunction(Function &F) { break; case CallingConv::Fast: case CallingConv::Cold: + case CallingConv::X86_FastCall: Assert1(!F.isVarArg(), "Varargs functions must have C calling conventions!", &F); break; |