divide resolve-phase and compile-phase