Merge: phases: do not reanalyze amodules in run_phase
authorJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 20:30:20 +0000 (16:30 -0400)
committerJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 20:30:20 +0000 (16:30 -0400)
commit653fdf9a16dde6488a47bdf0fdc7103988a88f27
tree229336d5f0f6bd2906aff0661895453c444c54bc
parentc8337195e4272b663e71be6e7b0709c6070fedd1
parent202488784d4ff56d5ee1b966e0cbffb767ffd270
Merge: phases: do not reanalyze amodules in run_phase

Multiple `run_phase` invocation should not analyze a amodule twice.

This is a workaround, the whole phase API should be improved to make late
module loading less error-prone and more simple.

Close #726

Pull-Request: #729
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
src/phase.nit