src/cpu/x86/vm/macroAssembler_x86.hpp

changeset 4356
18d56ca3e901
parent 4318
cd3d6a6b95d9
child 4410
00af3a3a8df4
     1.1 --- a/src/cpu/x86/vm/macroAssembler_x86.hpp	Fri Dec 14 12:11:17 2012 -0800
     1.2 +++ b/src/cpu/x86/vm/macroAssembler_x86.hpp	Mon Dec 17 11:00:22 2012 -0800
     1.3 @@ -126,25 +126,6 @@
     1.4      }
     1.5    }
     1.6  
     1.7 -#ifndef PRODUCT
     1.8 -  static void pd_print_patched_instruction(address branch) {
     1.9 -    const char* s;
    1.10 -    unsigned char op = branch[0];
    1.11 -    if (op == 0xE8) {
    1.12 -      s = "call";
    1.13 -    } else if (op == 0xE9 || op == 0xEB) {
    1.14 -      s = "jmp";
    1.15 -    } else if ((op & 0xF0) == 0x70) {
    1.16 -      s = "jcc";
    1.17 -    } else if (op == 0x0F) {
    1.18 -      s = "jcc";
    1.19 -    } else {
    1.20 -      s = "????";
    1.21 -    }
    1.22 -    tty->print("%s (unresolved)", s);
    1.23 -  }
    1.24 -#endif
    1.25 -
    1.26    // The following 4 methods return the offset of the appropriate move instruction
    1.27  
    1.28    // Support for fast byte/short loading with zero extension (depending on particular CPU)

mercurial