Decompiling in-place addition

3 views
Skip to first unread message

Sanghyeon Seo

unread,
Dec 10, 2007, 5:32:31 AM12/10/07
to mono-...@googlegroups.com
As per IRC discussion, here is combined patch for add, dup, and stfld
instructions, complete with testcases.

As a result, following source code can be decompiled.

public class TestCase {
int v;
public void InPlaceAdd(int n) {
v += n;
}
}

--
Seo Sanghyeon

in-place-add.txt

Jb Evain

unread,
Dec 10, 2007, 6:34:14 AM12/10/07
to mono-...@googlegroups.com
On 12/10/07, Sanghyeon Seo <san...@gmail.com> wrote:
> As per IRC discussion, here is combined patch for add, dup, and stfld
> instructions, complete with testcases.

And as said on IRC, this is good to go, and will be checked in today.

Thanks!

--
Jb Evain <j...@nurv.fr>

Reply all
Reply to author
Forward
0 new messages