Files
ldc/gen
Frits van Bommel 0df1e34eb2 Implement first D-specific optimization pass: -simplify-drtcalls.
It uses the machinery of the standard -simplify-libcalls pass, but optimizes
calls to the D runtime instead of calls to C libraries.

At the moment, these optimizations are implemented by this pass:
 - Avoid the runtime call for `arr.length = newlen` if it can determine that
   the new length isn't longer than the old one.
 - Ditto for `cast(T[]) arr` if it will clearly always succeed.
   (e.g. if the length of the original array is zero, or if the old element
   size is a multiple of the new element size)
2009-04-28 21:58:06 +02:00
..
2008-10-06 22:54:08 +02:00
2009-03-06 16:00:47 +01:00
2009-04-15 20:06:25 +02:00
2009-04-15 20:06:25 +02:00
2008-10-06 22:54:08 +02:00
2009-03-13 19:22:40 +01:00
2009-03-12 20:37:27 +01:00
2009-04-15 20:06:25 +02:00
2009-04-12 12:52:01 +02:00
2009-04-15 20:06:25 +02:00
2009-03-29 19:19:32 +02:00
2009-04-17 01:19:03 +02:00
2008-10-06 22:54:08 +02:00
2009-04-25 18:26:54 +02:00