orc-lang / orc

Orc programming language implementation
https://orc.csres.utexas.edu/
BSD 3-Clause "New" or "Revised" License
40 stars 3 forks source link

remove unused definitions from OIL #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When creating OIL files, remove definitions which aren't used by the
program's goal expression (transitively). This will keep later analysis
from wasting time on dead code and keep OIL files from getting too bloated.

Original issue reported on code.google.com by adrianqu...@gmail.com on 25 Apr 2009 at 4:16

GoogleCodeExporter commented 9 years ago

Original comment by dkitc...@gmail.com on 3 Sep 2009 at 8:06

GoogleCodeExporter commented 9 years ago
Done. Unused defs are trimmed during the extended > simple conversion; this 
speeds up all downstream 
compilation steps. This was a bigger win than I had expected; the regression 
test suite now takes 50% less time 
to run (mostly due to big compilation speedups on lots of small programs).

Original comment by dkitc...@gmail.com on 15 Oct 2009 at 11:39