diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-13 16:14:36 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-07-13 16:14:36 +0300 |
commit | d10a27cb61fbbbe09490e46f379411a4a90b74f8 (patch) | |
tree | cd628a086eac29ae129ffbc4561c314c9abe2938 | |
parent | 0446a2679b81c5e319dfe74074d1b9ab441213f1 (diff) | |
download | egawk-d10a27cb61fbbbe09490e46f379411a4a90b74f8.tar.gz egawk-d10a27cb61fbbbe09490e46f379411a4a90b74f8.tar.bz2 egawk-d10a27cb61fbbbe09490e46f379411a4a90b74f8.zip |
Small speedup in mpg_interpret.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | mpfr.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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. @@ -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 */ } } |