Revision: 18912
Author:   [email protected]
Date:     Wed Jan 29 14:57:39 2014 UTC
Log:      Don't prefix %p format with 0x

%p will automatically print 0x

BUG=none
[email protected]
LOG=n

Review URL: https://codereview.chromium.org/137023011
http://code.google.com/p/v8/source/detail?r=18912

Modified:
 /branches/experimental/a64/src/a64/simulator-a64.cc

=======================================
--- /branches/experimental/a64/src/a64/simulator-a64.cc Mon Jan 27 19:23:17 2014 UTC +++ /branches/experimental/a64/src/a64/simulator-a64.cc Wed Jan 29 14:57:39 2014 UTC
@@ -945,14 +945,14 @@
// Visitors---------------------------------------------------------------------

 void Simulator::VisitUnimplemented(Instruction* instr) {
-  printf("Unimplemented instruction at 0x%p: 0x%08" PRIx32 "\n",
+  printf("Unimplemented instruction at %p: 0x%08" PRIx32 "\n",
          reinterpret_cast<void*>(instr), instr->InstructionBits());
   UNIMPLEMENTED();
 }


 void Simulator::VisitUnallocated(Instruction* instr) {
-  printf("Unallocated instruction at 0x%p: 0x%08" PRIx32 "\n",
+  printf("Unallocated instruction at %p: 0x%08" PRIx32 "\n",
          reinterpret_cast<void*>(instr), instr->InstructionBits());
   UNIMPLEMENTED();
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to