--- old/src/cpu/x86/vm/assembler_x86.cpp 2012-11-12 10:52:08.180661169 -0800 +++ new/src/cpu/x86/vm/assembler_x86.cpp 2012-11-12 10:52:08.020663181 -0800 @@ -212,14 +212,6 @@ return enc; } -static int encode(XMMRegister r) { - int enc = r->encoding(); - if (enc >= 8) { - enc -= 8; - } - return enc; -} - void Assembler::emit_arith_b(int op1, int op2, Register dst, int imm8) { assert(dst->has_byte_register(), "must have byte register"); assert(isByte(op1) && isByte(op2), "wrong opcode");