1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Updates to gc intrinsics, contributed by Tobias Nurmiranta

llvm-svn: 15096
This commit is contained in:
Chris Lattner 2004-07-22 05:50:01 +00:00
parent b6c0676755
commit 59c0771263

View File

@ -711,8 +711,8 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
"Second argument to llvm.gcroot must be a constant!", &CI);
NumArgs = 2;
break;
case Intrinsic::gcread: NumArgs = 1; break;
case Intrinsic::gcwrite: NumArgs = 2; break;
case Intrinsic::gcread: NumArgs = 2; break;
case Intrinsic::gcwrite: NumArgs = 3; break;
case Intrinsic::dbg_stoppoint: NumArgs = 4; break;
case Intrinsic::dbg_region_start:NumArgs = 1; break;