aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--mpfr.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 72098089..fab7fef8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-07-13 Arnold D. Robbins <arnold@skeeve.com>
+
+ * mpfr.c (mpg_interpret): Small speedup. If do_itrace and opcode is
+ not one that's handled, return early.
+
2020-07-12 Arnold D. Robbins <arnold@skeeve.com>
* mpfr.c (mpg_interpret): Make the instruction tracing more sane.
diff --git a/mpfr.c b/mpfr.c
index f581aba8..978fd683 100644
--- a/mpfr.c
+++ b/mpfr.c
@@ -1554,9 +1554,9 @@ mpg_interpret(INSTRUCTION **cp)
case Op_assign_exp:
fprintf(stderr, "++ %s: mpg_interpret\n", opcode2str(op));
fflush(stderr);
- // fall thru to break
- default:
break;
+ default:
+ return true; /* unhandled */
}
}