[Mono-bugs] [Bug 387712] Reflector does like foreach IL from gmcs HEAD

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 7 22:23:38 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=387712

User harinath at hurrynot.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=387712#c1


Raja Harinath <harinath at hurrynot.org> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |harinath at hurrynot.org
             Status|NEW                                             |RESOLVED
         Resolution|                                                |WONTFIX




--- Comment #1 from Raja Harinath <harinath at hurrynot.org>  2008-05-07 20:23:37 MST ---
The ECMA 335 standard says:

  (Partition III, Section 3.35)

  An endfinally instruction can only appear lexically within a finally block.
  Unlike the endfilter instruction, there is no requirement that the block end
  with an endfinally instruction, and there can be as many endfinally
  instructions within the block as required.
  ...
  endfinally empties the evaluation stack as a side-effect.

Making this one-byte IL instruction perfectly suited for that situation, and to
replace 5 IL bytes occupied by the pop+br.

So, it's a Reflector bug.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list