d87ed38cbf
The phase to eliminate redundant function prologue safepoints was written in Kotlin which meant that it was performing a lot of jni calls. Moving the simple optimization to C code speeds things up dramatically. On a large project this reduces the time for this phase from 11.8 seconds to 1.4 seconds.