[Mono-dev] [patch] ILGenerator.Emit(OpCode, LocalBuilder) with non variable related opcode

Jb Evain jb at nurv.fr
Tue Dec 8 10:02:52 EST 2009


Hey,

.NET's ILGenerator allows contructions such as:

il.Emit (OpCodes.Nop, local_builder);

We're currently translating that into a ldloc, while .net actually
emits the nop. The attached patch fixes this.

Please review, thanks.

-- 
Jb Evain  <jb at nurv.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: il_gen.diff
Type: text/x-patch
Size: 2541 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091208/43d531d8/attachment-0001.bin 


More information about the Mono-devel-list mailing list