Author: martin
Date: 2008-02-18 09:44:15 -0500 (Mon, 18 Feb 2008)
New Revision: 96058
Modified:
branches/martin/debugger-terrania/mcs/iterators.cs
Log:
Small fix.
Modified: branches/martin/debugger-terrania/mcs/iterators.cs
===================================================================
--- branches/martin/debugger-terrania/mcs/iterators.cs 2008-02-18 14:44:05 UTC
(rev 96057)
+++ branches/martin/debugger-terrania/mcs/iterators.cs 2008-02-18 14:44:15 UTC
(rev 96058)
@@ -668,12 +668,13 @@
original_block.Emit (ec);
+ if (CodeGen.SymbolWriter != null)
+ CodeGen.SymbolWriter.EndIteratorBody (ec.ig);
+
EmitYieldBreak (ig);
- if (CodeGen.SymbolWriter != null) {
- CodeGen.SymbolWriter.EndIteratorBody (ec.ig);
+ if (CodeGen.SymbolWriter != null)
CodeGen.SymbolWriter.StartIteratorDispatcher
(ec.ig);
- }
ig.MarkLabel (dispatcher);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches