Improve indirect function call code generation