|
From: <sv...@va...> - 2014-12-15 21:07:44
|
Author: florian
Date: Mon Dec 15 21:07:37 2014
New Revision: 3041
Log:
Tweak a format specifier. Remove a redundant assert.
Modified:
trunk/priv/main_main.c
Modified: trunk/priv/main_main.c
==============================================================================
--- trunk/priv/main_main.c (original)
+++ trunk/priv/main_main.c Mon Dec 15 21:07:37 2014
@@ -918,10 +918,7 @@
vta->disp_cp_xassisted );
if (UNLIKELY(vex_traceflags & VEX_TRACE_ASM)) {
for (k = 0; k < j; k++)
- if (insn_bytes[k] < 16)
- vex_printf("0%x ", (UInt)insn_bytes[k]);
- else
- vex_printf("%x ", (UInt)insn_bytes[k]);
+ vex_printf("%02x ", (UInt)insn_bytes[k]);
vex_printf("\n\n");
}
if (UNLIKELY(out_used + j > vta->host_bytes_size)) {
@@ -942,7 +939,6 @@
}
out_used += j;
}
- vassert(out_used <= vta->host_bytes_size);
}
*(vta->host_bytes_used) = out_used;
|