gcroot only in entry block?

Hi,

Is it necessary to emit all the calls to
@llvm.gcroot in the entry block of each function,
or can I emit them anywhere on the function?

Thanks,
N

Hi Nicolas,

Yes, I think it’s still necessary to declare them in the first block.

Cheers,
Nicolas