C1 did not pass the type to the branch LIR instruction in one instance. Huge thanks to Vladimir for analysis of the generated code! Webrev: http://cr.openjdk.java.net/~iveresov/7131028/webrev.00/ igor