>>> The llvm.gcroot intrinsic can be declared to take any types you >>> care to give it in the module, so long as its eventual type is >>> like void(<ty>**, <ty2>*). >> >> Actually no, I need to update the langref.html document to make >> this explicit, thanks for reminding me. The issue is that if you >> link two modules with different <ty>'s, the two different >> intrinsics would have to be merged somehow. By forcing the >> intrinsic to a specific type this problem doesn't happen. > > I wondered about that. I'll have to fix several tests and the > Verifier. Are these the blessed prototypes? > > void @llvm.gcroot(i8**, i8*) > i8* @llvm.gcread(i8*, i8**) > void @llvm.gcwrite(i8*, i8*, i8**)
Yep! -Chris _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits