1.1 --- a/src/cpu/ppc/vm/vm_version_ppc.cpp Fri Nov 14 17:39:38 2014 -0500 1.2 +++ b/src/cpu/ppc/vm/vm_version_ppc.cpp Mon Jun 30 14:58:52 2014 -0400 1.3 @@ -352,7 +352,7 @@ 1.4 1.5 if (PrintAssembly) { 1.6 ttyLocker ttyl; 1.7 - tty->print_cr("Decoding section size detection stub at " INTPTR_FORMAT " before execution:", code); 1.8 + tty->print_cr("Decoding section size detection stub at " INTPTR_FORMAT " before execution:", p2i(code)); 1.9 Disassembler::decode((u_char*)code, (u_char*)code_end, tty); 1.10 tty->print_cr("Time loop1 :%f", loop1_seconds); 1.11 tty->print_cr("Time loop2 :%f", loop2_seconds); 1.12 @@ -435,7 +435,7 @@ 1.13 // Print the detection code. 1.14 if (PrintAssembly) { 1.15 ttyLocker ttyl; 1.16 - tty->print_cr("Decoding cpu-feature detection stub at " INTPTR_FORMAT " before execution:", code); 1.17 + tty->print_cr("Decoding cpu-feature detection stub at " INTPTR_FORMAT " before execution:", p2i(code)); 1.18 Disassembler::decode((u_char*)code, (u_char*)code_end, tty); 1.19 } 1.20 1.21 @@ -468,7 +468,7 @@ 1.22 // Print the detection code. 1.23 if (PrintAssembly) { 1.24 ttyLocker ttyl; 1.25 - tty->print_cr("Decoding cpu-feature detection stub at " INTPTR_FORMAT " after execution:", code); 1.26 + tty->print_cr("Decoding cpu-feature detection stub at " INTPTR_FORMAT " after execution:", p2i(code)); 1.27 Disassembler::decode((u_char*)code, (u_char*)code_end, tty); 1.28 } 1.29