diff src/cpu/x86/vm/macroAssembler_x86.hpp @ 7420:18d56ca3e901

8004548: remove unused AbstractAssembler::print(Label&) Reviewed-by: kvn, twisti Contributed-by: Bharadwaj Yadavalli <bharadwaj.yadavalli@oracle.com>
author twisti
date Mon, 17 Dec 2012 11:00:22 -0800
parents cd3d6a6b95d9
children 00af3a3a8df4
line wrap: on
line diff
--- a/src/cpu/x86/vm/macroAssembler_x86.hpp	Fri Dec 14 12:11:17 2012 -0800
+++ b/src/cpu/x86/vm/macroAssembler_x86.hpp	Mon Dec 17 11:00:22 2012 -0800
@@ -126,25 +126,6 @@
     }
   }
 
-#ifndef PRODUCT
-  static void pd_print_patched_instruction(address branch) {
-    const char* s;
-    unsigned char op = branch[0];
-    if (op == 0xE8) {
-      s = "call";
-    } else if (op == 0xE9 || op == 0xEB) {
-      s = "jmp";
-    } else if ((op & 0xF0) == 0x70) {
-      s = "jcc";
-    } else if (op == 0x0F) {
-      s = "jcc";
-    } else {
-      s = "????";
-    }
-    tty->print("%s (unresolved)", s);
-  }
-#endif
-
   // The following 4 methods return the offset of the appropriate move instruction
 
   // Support for fast byte/short loading with zero extension (depending on particular CPU)