On Wed, Mar 24, 2010 at 2:49 PM, Daniel Grunwald
<[email protected]> wrote:
> You can take a look yourself - here's the CFG and SSA form for a method
> using a foreach loop to sum up the length of all strings in a List<string>:
> http://www.danielgrunwald.de/coding/null/ForEach.cfg.png (green edges
> aren't control flow edges but represent dominance)
> http://www.danielgrunwald.de/coding/null/ForEach.ssa.png (ldloca
> instructions are eliminated where possible because SSA form can't be
> used with them)
> The code is a work is progress, but I'm planning on making the CFG and
> SSA code available as open-source code when it's done.

Pretty cool!

-- 
Jb Evain  <[email protected]>

-- 
--
mono-cecil

To unsubscribe from this group, send email to 
mono-cecil+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to