You may want to check out the thread that was previously started about incremental compilation.
That method isn’t going to be compiled multiple times anyway. The compiler creates LLVM IR rather quickly, then merges it into a single LLVM module before compiling it to machine code.