http://bugzilla.novell.com/show_bug.cgi?id=536710

User [email protected] added comment
http://bugzilla.novell.com/show_bug.cgi?id=536710#c1


Zoltan Varga <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Zoltan Varga <[email protected]>  2009-09-03 17:50:49 MDT ---
I think the problem is in BinaryExpression:EmitLiftedUserDefinedOperator (),
in this code:

            ec.EmitNullableGetValueOrDefault (left);
            ec.EmitNullableGetValueOrDefault (right);
            ec.EmitCall (method);
            ig.Emit (OpCodes.Br, done);

            ig.MarkLabel (ret_true);
            ig.Emit (OpCodes.Ldc_I4_1);
            ig.Emit (OpCodes.Br, done);

            ig.MarkLabel (ret_false);
            ig.Emit (OpCodes.Ldc_I4_0);
            ig.Emit (OpCodes.Br, done);

            ig.MarkLabel (done);

This code is somehow called with 1 item on the stack, at the first br, there
are
2 items on the stack, the br empties the stack, so at the second br, there is
only 1 item on the stack, and the two brs branch to the same label 'done', but
with different stacks.

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to