addCompilerPass is now public