Skip to content

Commit 72067e3

Browse files
committed
Disable unused functions
Signed-off-by: Davide Bettio <davide@uninstall.it>
1 parent 2300163 commit 72067e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libAtomVM/bif.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1514,6 +1514,7 @@ term bif_erlang_bxor_2(Context *ctx, uint32_t fail_label, int live, term arg1, t
15141514
}
15151515
}
15161516

1517+
#if 0
15171518
static inline int32_t int32_bsr(int32_t n, unsigned int rshift)
15181519
{
15191520
return (int32_t) ((n < 0) ? ~(~((uint32_t ) n) >> rshift) : (((uint32_t) n) >> rshift));
@@ -1532,6 +1533,7 @@ static inline bool int32_bsl_overflow(int32_t n, unsigned int lshift, int32_t *o
15321533
int32_t check = int32_bsr(res, lshift);
15331534
return check != n;
15341535
}
1536+
#endif
15351537

15361538
static inline int64_t int64_bsr(int64_t n, unsigned int rshift)
15371539
{

0 commit comments

Comments
 (0)