transition Compiler::compile to compiler::compile