]> git.lizzy.rs Git - rust.git/commit
Free intermediate translation results as soon as possible
authorBjörn Steinbrink <bsteinbr@gmail.com>
Sun, 28 Jul 2013 17:56:05 +0000 (19:56 +0200)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Sun, 28 Jul 2013 18:02:31 +0000 (20:02 +0200)
commit075560a9f2f715ac0e599a13d26d1a910be36509
tree39e316c51ead89963fc57839067d3af5cd6943a1
parent293ec2c5820e8b5dc4394e2c11ad3d2e9cfb56eb
Free intermediate translation results as soon as possible

This fixes the recently introduced peak memory usage regression by
freeing the intermediate results as soon as they're not required
anymore instead of keeping them around for the whole compilation
process.

Refs #8077
src/librustc/driver/driver.rs