From 40c26867f7a865c5154a630a6ce9ac264cceb63b Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 2 Sep 2022 13:49:26 +0200 Subject: [PATCH] :art: Remove unused functions in prim.c --- src/lib/prim.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/prim.c b/src/lib/prim.c index 6b779863..8afe8059 100644 --- a/src/lib/prim.c +++ b/src/lib/prim.c @@ -28,8 +28,6 @@ static inline bool is_prim_float(const Exp e) { return (is_prim(e) && e->d.prim.prim_type == ae_prim_float); } -static inline uint pot(const m_int x) { return (x > 0) && ((x & (x - 1)) == 0); } - #define POWEROF2_OPT(name, OP) \ if (is_prim_int(bin->rhs) && pot(bin->rhs->d.prim.d.num)) { \ bin->op = insert_symbol(#OP); \ -- 2.43.0