Hey Daniel, On 10/18/07, Daniel Grunwald <[EMAIL PROTECTED]> wrote: > http://www.mono-project.com/Cecil mentions a code optimization tool. Was > there ever any work done on it?
Not that I'm aware of. > I have experimented a bit with Cecil and > wrote an IL optimizer that can inline methods. niiiice! > While doing that, I found that the Cecil ComputeMaxStack implementation > does compute the maximum stack size correctly. Usually it overestimates > because it doesn't see the implicit pop for each parameter in a call > instruction; but attached is a case where it underestimates the stack > size and causes the assembly to get invalid when it is roundtripped. Thanks for the test case, queuing that! -- Jb Evain <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ -- mono-cecil -~----------~----~----~----~------~----~------~--~---
