From d43ffd6b62455aeaa464030bab21e952e19c1267 Mon Sep 17 00:00:00 2001 From: dzaima Date: Tue, 25 Apr 2023 22:13:41 +0300 Subject: [PATCH] remove no longer needed E_SLICES --- src/builtins/cells.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/builtins/cells.c b/src/builtins/cells.c index 658168a9..e8f7f744 100644 --- a/src/builtins/cells.c +++ b/src/builtins/cells.c @@ -35,7 +35,6 @@ B takedrop_highrank(bool take, B w, B x); // from sfns.c #define S_SLICES(X, SLN) usz* X##_sh = SH(X); S_KSLICES(X, X##_sh, 1, SLN, 0) #define SLICE(X, S) taga(arr_shSetU(X##_slc(X, S, X##_csz), X##_cr, X##_csh)) #define SLICEI(X) ({ B r = SLICE(X, X##p); X##p+= X##_csz; r; }) -#define E_SLICES(X) @@ -54,7 +53,6 @@ B insert_base(B f, B x, usz xia, bool has_w, B w) { p-= x_csz; r = fc2(f, SLICE(x, p), r); } - E_SLICES(x) return r; } @@ -95,7 +93,6 @@ NOINLINE B toCells(B x) { M_HARR(r, cam) assert(x_cr > 1); for (usz i=0,xp=0; i1) shcpy(rsh, xsh, k); decG(x); @@ -452,7 +447,6 @@ NOINLINE B for_cells_AS(B f, B w, B x, ur wcr, ur wr, u32 chr) { S_KSLICES(w, wsh, wk, cam, 1) incBy(x, cam-1); M_HARR(r, cam); BBB2B fc2 = c2fn(f); for (usz i=0,wp=0; i1) shcpy(rsh, wsh, wk); decG(w); return bqn_merge(HARR_O(r).b); @@ -476,7 +470,6 @@ NOINLINE B for_cells_SA(B f, B w, B x, ur xcr, ur xr, u32 chr) { S_KSLICES(x, xsh, xk, cam, 1) incBy(w, cam-1); M_HARR(r, cam); BBB2B fc2 = c2fn(f); for (usz i=0,xp=0; i1) shcpy(rsh, xsh, xk); decG(x); return bqn_merge(HARR_O(r).b); @@ -520,7 +513,6 @@ NOINLINE B for_cells_AA(B f, B w, B x, ur wcr, ur xcr, u32 chr) { if (ext==1) { for (usz i=0; i