bc: rewrite "BOOL * EXPR" idiom as if() statement
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 4 Dec 2018 20:37:56 +0000 (21:37 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 5 Dec 2018 14:43:35 +0000 (15:43 +0100)
commitd5f7703abb5a0868fd0e9fa3e8c0509ed99ce330
tree97c5c860cdd190f254cb11e9422126a1aa7c071c
parent17c5472c5a3eb548e9d06555a8863f83eaee9f26
bc: rewrite "BOOL * EXPR" idiom as if() statement

function                                             old     new   delta
bc_program_index                                      66      64      -2
bc_program_num                                      1147    1130     -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-19)             Total: -19 bytes
   text    data     bss     dec     hex filename
 987619     485    7296  995400   f3048 busybox_old
 987600     485    7296  995381   f3035 busybox_unstripped

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