[Mono-bugs] [Bug 58574][Nor] Changed - PEAPI try/finally/catch blockstack

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 21 Jun 2004 13:39:59 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by jackson@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=58574

--- shadow/58574	2004-05-21 02:55:25.000000000 -0400
+++ shadow/58574.tmp.8338	2004-06-21 13:39:59.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 58574
 Product: Mono: Compilers
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: NEEDINFO   
 Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: IL assembler
 AssignedTo: jackson@ximian.com                            
 ReportedBy: ck@carlo-kok.com               
@@ -25,6 +25,20 @@
 Always
 
 Additional Information:
 Proposed fix:    
   Add blockStac.RemoveAt(0) to EndCatchBlock, EndFinally, EndFilterBlock
 and EndFaultBlock
+
+------- Additional Comments From jackson@ximian.com  2004-06-21 13:39 -------
+We dont actually use these methods in ILASM so I am a little unsure
+how they should work. Looking at the code these methods look
+completely broken, as there is no way to start anything but a try
+block. I would reccomend creating SEH blocks the same way they are
+created in ILASM. Look at mcs/ilasm/codegen/*Block.cs. If you can post
+some sample code you are using these methods with I can look at fixing
+them. I think that we will need to create a stack for each handler block.
+
+Thanks!
+Jackson
+
+