On Fri, Jul 26, 2013 at 09:39:26AM +0100, Gabriel Kerneis wrote:
> I have no idea why and I don't have the time to check CIL code right now, but
> using ChangeDoChildrenPost instead of DoChildren makes your code behave
> correctly.

I got it: this should be told explicitely in the doc, but the intent of
queueInstr is to be called from functions visiting expressions, types, etc.,
from vstmt and vinstr.  You do not need it in vstmt indeed: you can insert
by yourself since you have a direct access to the current statement.

I guess this is a bug however, and I'll try and fix that.  Thanks for the
report.  My work-around should be enough in the meantime.

-- 
Gabriel

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to