JIT calls ICorMethodInfo::canTailCall to determine whether it is safe to use tail call in the given situation.
The implementation of canTailCall is in clr\src\vm\jitinterface.cpp. -Jan This posting is provided "AS IS" with no warranties, and confers no rights. -----Original Message----- From: Discussion of the Rotor Shared Source CLI implementation [mailto:[EMAIL PROTECTED] On Behalf Of Anderson, Todd A Sent: Thursday, November 06, 2003 5:29 PM To: [EMAIL PROTECTED] Subject: [DOTNET-ROTOR] FJit support for security (CAS and RBS) Just wondering if someone could confirm what I appear to be seeing int the FJit and prestub code. It appears that the prestub handles pretty much all of the stack related issues relating to code access security and role-based security. I think the prestub creates security stubs when necessary that create the appropriate frames and check the appropriate security constraints. Seems that FJit has to know whether security is required only to determine whether a function can use a tail call. Is there any deep interaction between FJit and the security sub-system that is not readily apparent? thanks, Todd =================================== This list is hosted by DevelopMentor(r) http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com