From: Chris Lattner Date: Thu, 22 Jul 2004 05:50:01 +0000 (+0000) Subject: Updates to gc intrinsics, contributed by Tobias Nurmiranta X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9545a1797b99cad119d2dfaa975f6e95c745b62a;p=oota-llvm.git Updates to gc intrinsics, contributed by Tobias Nurmiranta git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15096 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 8b903c70fd7..2005dbf5845 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -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;