hotspot/src/cpu/x86/vm/assembler_x86.cpp
changeset 16670 4af09aff4237
parent 15612 d4073ad8ce3d
child 18507 61bfc8995bb3
--- a/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Wed Apr 03 16:43:09 2013 -0700
+++ b/hotspot/src/cpu/x86/vm/assembler_x86.cpp	Thu Apr 04 10:01:26 2013 -0700
@@ -214,14 +214,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");