aboutsummaryrefslogtreecommitdiff
path: root/archival/libunarchive/decompress_unlzma.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-13 10:36:25 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-13 10:36:25 +0000
commite324184c0509cc0db168ce29546e1b52800a79c6 (patch)
tree9d4f18b3cc1ab715b6ff91cc9e3e942d11dfc51f /archival/libunarchive/decompress_unlzma.c
parent5f1b149d541ebba7cab841cb647f113248f9fb8f (diff)
downloadbusybox-e324184c0509cc0db168ce29546e1b52800a79c6.tar.gz
s/#ifdef CONFIG_/#if ENABLE_/g
Diffstat (limited to 'archival/libunarchive/decompress_unlzma.c')
-rw-r--r--archival/libunarchive/decompress_unlzma.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/archival/libunarchive/decompress_unlzma.c b/archival/libunarchive/decompress_unlzma.c
index 2800a7ecd..4f36c060f 100644
--- a/archival/libunarchive/decompress_unlzma.c
+++ b/archival/libunarchive/decompress_unlzma.c
@@ -12,7 +12,7 @@
#include "libbb.h"
#include "unarchive.h"
-#ifdef CONFIG_FEATURE_LZMA_FAST
+#if ENABLE_FEATURE_LZMA_FAST
# define speed_inline ALWAYS_INLINE
#else
# define speed_inline
@@ -99,9 +99,11 @@ static ALWAYS_INLINE void rc_normalize(rc_t * rc)
}
}
-/* Called 9 times */
+/* rc_is_bit_0 is called 9 times */
/* Why rc_is_bit_0_helper exists?
- * Because we want to always expose (rc->code < rc->bound) to optimizer
+ * Because we want to always expose (rc->code < rc->bound) to optimizer.
+ * Thus rc_is_bit_0 is always inlined, and rc_is_bit_0_helper is inlined
+ * only if we compile for speed.
*/
static speed_inline uint32_t rc_is_bit_0_helper(rc_t * rc, uint16_t * p)
{