2007-09-20 Mark Probst <mark.probst@gmail.com>
* mini.c: First generics sharing implementation. Can only share
in very simple cases. If sharing doesn't work it falls back to
dedicated compilation.
* mini.h: Flag in MonoCompile to specify whether generic
compilation is shared. Flags enum for marking which generic inst
of a context is used. Prototypes for helper functions.
* generic-sharing.c: Helper functions for generic method sharing.
* optflags-def.h: Optimization flag (gshared) for enabling generic
method sharing added.
* Makefile.am: generic-sharing.c added.
2007-09-20 Mark Probst <mark.probst@gmail.com>
* domain-internals.h: New flag in MonoJitInfo which marks shared
generic methods. New hash table (shared_generics_hash) in
MonoDomain to keep track of shared generic methods. Prototypes
for functions to register and lookup shared generic methods.
* domain.c: Support for registering and looking up shared generic
methods via a hash table (shared_generics_hash) in MonoDomain.
* class-internals.h: New exception to signal failure of shared
compilation of a generic method. New counters for generics
sharing in MonoStats.
2007-09-20 Mark Probst <mark.probst@gmail.com>
* generics-sharing.2.cs: added
* Makefile.am: added generics-sharing.2.cs
svn path=/trunk/mono/; revision=86066
13 files changed: