On Sat, Jan 9, 2010 at 1:08 PM, Michael Kohout <[email protected]> wrote:
> Thanks for your reply.  I'm a bit confused.  Wouldn't the last line in the
> block:
>               jump.Operand <- e   //this sets the jump instruction's operand
> to the instruction for OpCodes.Ret
> do the same thing?

Well, one will throw and the other won't? :)

You can pass a dummy instruction to jump if you don't want to define
the branch at creation time, but you have to pass something. It's just
a requirement of the cil worker api.

-- 
Jb Evain  <[email protected]>
-- 
--
mono-cecil

Reply via email to