Hi,

>
> - If all instances of certain classes are supposed to be allocated by
> your allocator, you can use custom attribute to mark them as such. Or
> you can use custom attribute to say that all instances of given class in
> an assembly should be allocated using your allocator. The JIT would
> consult the custom attribute every time it jitted a newobj instruction
> and call the appropriate internal implementation of new.

This could be the closest to what i want to implement.
In the function compileCEE_Newobj(..) there are a lot of clauses wrt
targetClassAttributes, so do i need to add an additional clause over
there, possibly adding a new attribute as well to call this 'other'
allocator?
How can i specify class attributes?
Thanks,
archana

===================================
This list is hosted by DevelopMentorŪ  http://www.develop.com
ASP.NET courses you may be interested in:

Guerrilla ASP.NET
15 March 2004, in Boston, MA
17 May 2004 in Torrance, CA
7 June 2004, London, UK

http://www.develop.com/courses/gaspdotnetls

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to