Mercurial > projects > ldc
comparison gen/optimizer.cpp @ 1220:e945d2a0999e
Fix typo in comment
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Thu, 16 Apr 2009 12:01:28 +0200 |
parents | a0844cc67840 |
children | 381c3ee0ca00 |
comparison
equal
deleted
inserted
replaced
1219:a0844cc67840 | 1220:e945d2a0999e |
---|---|
91 // Run some optimizations to clean up after inlining. | 91 // Run some optimizations to clean up after inlining. |
92 pm.add(createInstructionCombiningPass()); | 92 pm.add(createInstructionCombiningPass()); |
93 pm.add(createScalarReplAggregatesPass()); | 93 pm.add(createScalarReplAggregatesPass()); |
94 | 94 |
95 // Inline again, to catch things like foreach delegates | 95 // Inline again, to catch things like foreach delegates |
96 // passed inlined opApply's where the function wasn't | 96 // passed to inlined opApply's where the function wasn't |
97 // known during the first inliner pass. | 97 // known during the first inliner pass. |
98 pm.add(createFunctionInliningPass()); | 98 pm.add(createFunctionInliningPass()); |
99 | 99 |
100 // Run clean-up again. | 100 // Run clean-up again. |
101 pm.add(createInstructionCombiningPass()); | 101 pm.add(createInstructionCombiningPass()); |