diff options
| author | 2012-04-16 17:24:51 -0700 | |
|---|---|---|
| committer | 2012-04-16 17:24:51 -0700 | |
| commit | 14178a99fd397737124e65d5ccb9446f85c5ca93 (patch) | |
| tree | 5d6a25f1cc4ca806985ea6450b6dcffaa83c8ae3 | |
| parent | 3ea0f42467790809fcfc9fc861605d465808090f (diff) | |
Always show the sign of an x86 relative branch, like we do for architectures.
Change-Id: I7f3d4d72179b741064832f9032c9801e201b3b4f
| -rw-r--r-- | src/disassembler_x86.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/disassembler_x86.cc b/src/disassembler_x86.cc index ed0cd25f4c..eb52d5a952 100644 --- a/src/disassembler_x86.cc +++ b/src/disassembler_x86.cc @@ -524,7 +524,7 @@ DISASSEMBLER_ENTRY(cmp, displacement = *reinterpret_cast<const int32_t*>(instr); instr += 4; } - args << StringPrintf("%d (%p)", displacement, instr + displacement); + args << StringPrintf("%+d (%p)", displacement, instr + displacement); } if (prefix[1] == kFs) { args << " ; "; |