mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
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
This commit is contained in:
parent
728f03f2ad
commit
9545a1797b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user