Branch elimination in Julia

Any chance I can the compiler not to eliminate the branch so I can still illustrate the effect?