bc: remove redundant JUMP generation when parsing 'while'
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Dec 2018 22:02:22 +0000 (23:02 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Dec 2018 22:02:22 +0000 (23:02 +0100)
commitde24e9d3669e43a5419c7990ad13368ae51ced96
tree0d94b4feb8d90ff0b7627511714d2e8adf3ea885
parent06ade77002eaa28bb3f19480f68ad270b22bd48e
bc: remove redundant JUMP generation when parsing 'while'

function                                             old     new   delta
zbc_parse_stmt_possibly_auto                        2065    2025     -40
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-40)             Total: -40 bytes
   text    data     bss     dec     hex filename
 982035     485    7296  989816   f1a78 busybox_old
 981995     485    7296  989776   f1a50 busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c
testsuite/bc.tests