1. A method comprising: detecting a conditional branch that selects between execution of a first alternative block and a second alternative block; saving a first count of a number of times the first alternative block was executed and a second count of a number of times the second alternative block was executed; and if the first count is greater than a threshold and the second count equals zero, compiling the first alternative block into first alternative block object code and refraining from compiling the second alternative block.