[Mono-list] I must misunderstand delegates
Michal Moskal
malekith@pld-linux.org
Sat, 20 Nov 2004 15:41:56 +0100
On Sat, Nov 20, 2004 at 04:00:05PM +0200, Mike Welham wrote:
> AgeChangeHandler ageChange = _ageChange;
> if (ageChange != null)
> {
> ageChange(_age);
> }
The JIT is free to remove this load/store as redundant:
http://blogs.msdn.com/jaybaz_MS/archive/2004/09/16/230681.aspx
While I personally think it shouldn't be allowed to do so, I wonder
what's the reality.
Here is our (Nemerle developers) discussion about the issue:
http://nemerle.org/mailman/pipermail/bugs/2004-September/000735.html
--
: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?