From 59c0771263e95c4467b14b537fe045825f84f463 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 22 Jul 2004 05:50:01 +0000 Subject: [PATCH] Updates to gc intrinsics, contributed by Tobias Nurmiranta llvm-svn: 15096 --- lib/VMCore/Verifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;