Merge: Do compilation
authorJean Privat <jean@pryen.org>
Tue, 6 Jan 2015 02:02:18 +0000 (21:02 -0500)
committerJean Privat <jean@pryen.org>
Tue, 6 Jan 2015 02:02:18 +0000 (21:02 -0500)
refactorization: do in the Compiler classes what was in the ModelBuilder

Just add a method `AbstractCompiler::do_compiling` that contains what the various `ModelBuilder::run_*_compiler` where doing.
This simplifies `separate_erasure_compiler` since most the the code is just inherited.
The specific type handling code is moved into a separate method `compile_types`

Pull-Request: #1065
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>

1  2 
src/compiler/separate_erasure_compiler.nit