Revision: 20543
Author:   alexandre.ra...@arm.com
Date:     Mon Apr  7 12:06:54 2014 UTC
Log:      ARM64: Fix disassembly of branch targets.

R=u...@chromium.org

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

Modified:
 /branches/bleeding_edge/src/arm64/disasm-arm64.cc

=======================================
--- /branches/bleeding_edge/src/arm64/disasm-arm64.cc Fri Mar 21 09:28:26 2014 UTC +++ /branches/bleeding_edge/src/arm64/disasm-arm64.cc Mon Apr 7 12:06:54 2014 UTC
@@ -1632,10 +1632,9 @@
   offset <<= kInstructionSizeLog2;
   char sign = '+';
   if (offset < 0) {
-    offset = -offset;
     sign = '-';
   }
-  AppendToOutput("#%c0x%" PRIx64 " (addr %p)", sign, offset,
+  AppendToOutput("#%c0x%" PRIx64 " (addr %p)", sign, Abs(offset),
instr->InstructionAtOffset(offset), Instruction::NO_CHECK);
   return 8;
 }

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to