--- old/src/share/vm/c1/c1_LinearScan.cpp 2013-11-04 00:42:47.000000000 -0800 +++ new/src/share/vm/c1/c1_LinearScan.cpp 2013-11-04 00:42:47.000000000 -0800 @@ -1139,7 +1139,7 @@ } } - } else if (opr_type != T_LONG) { + } else if (opr_type != T_LONG && LP64_ONLY(opr_type != T_OBJECT) NOT_LP64(true)) { // integer instruction (note: long operands must always be in register) switch (op->code()) { case lir_cmp: