On Thu, Jan 20, 2011 at 10:57:22PM -0500, Elnatan Reisner wrote: > The attached patch keeps the typedefed type in casts, rather than > unrolling to the underlying type.
Applied in svn r12134. Note that in some cases in the pattern-matching (eg. TArray), the variable [result] in not used, and the cast is rebuilt. Since I do not fully understand what happens in those cases, I amended your patch to keep previous behaviour (ie. unroll types). If you think [result] should be used, or types shall be kept unrolled in some of these cases, please let me know. Thanks for the patch, -- Gabriel ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ CIL-users mailing list CIL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cil-users