A couple of debugging hacks to allow work to proceed on a front end
without a corresponding working back end.
git-svn-id: svn://svn.valgrind.org/vex/trunk@844 8f6e269a-dfd6-0310-a8e1-e2731360e62c
diff --git a/priv/main/vex_main.c b/priv/main/vex_main.c
index 9c1d9b2..8a3176d 100644
--- a/priv/main/vex_main.c
+++ b/priv/main/vex_main.c
@@ -470,7 +470,9 @@
vex_printf("\n");
}
+ /* HACK */
if (0) { *host_bytes_used = 0; return VexTransOK; }
+ /* end HACK */
if (vex_traceflags & VEX_TRACE_VCODE)
vex_printf("\n------------------------"
@@ -510,6 +512,10 @@
vex_printf("\n");
}
+ /* HACK */
+ if (0) { *host_bytes_used = 0; return VexTransOK; }
+ /* end HACK */
+
/* Assemble */
if (vex_traceflags & VEX_TRACE_ASM) {
vex_printf("\n------------------------"