On 2012-12-04, at 3:00 AM, Mansour Moufid wrote:

> Hello,
> 
> Is it possible to use CIL to transform expressions like "z = x*2+y;"
> into a series of simple three-operand statements:
> 
>    z = x * 2;
>    z = z + y;
> 
> If so, I assume I would have to write a CIL module?
> 
> I'd appreciate any pointers. Thank you for your time.
> 
> Mansour

Sorry, I should have spent more time reading the documentation.

I found the answer in "8.15  Simple Three-Address Code."

CIL is awesome, thank you!


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to