diff options
author | Denys Vlasenko | 2017-07-28 15:28:33 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-07-28 15:28:33 +0200 |
commit | 619d9b5e6848a72350126ea9c1e413fd133181e3 (patch) | |
tree | 1fe4ab734bd3b917ec4e9ef35d2c1e700a850605 /.indent.pro | |
parent | 46f3f16b587ce781ab43a7b17698e1e565b2acf7 (diff) | |
download | busybox-619d9b5e6848a72350126ea9c1e413fd133181e3.zip busybox-619d9b5e6848a72350126ea9c1e413fd133181e3.tar.gz |
ash: less hackish implementation of evaltreenr()
Defining a function alias with __attribute__ ((alias("evaltree"),__noreturn__))
is not that usual, and clang had a bug which made it misunderstand
this construct.
Switch to:
ALWAYS_INLINE NORETURN evaltreenr() { evaltree(); unreachable(); }
Older gcc's do not know unreachable(), on them we pay the price of having
a few extra calls to abort():
function old new delta
evalsubshell 151 156 +5
evalpipe 357 362 +5
argstr 1141 1144 +3
On newer gcc, code size does not change.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '.indent.pro')
0 files changed, 0 insertions, 0 deletions