From d38bd7128125717e125d2c2b1eb44952d02e5ae4 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 21 Apr 2024 00:10:09 +0200 Subject: Remove dead code. --- rules.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rules.ts b/rules.ts index a9fede3..e4e32a4 100644 --- a/rules.ts +++ b/rules.ts @@ -12004,10 +12004,6 @@ function object_copy(original) { // Packed array of small numbers in one word -function pack1_get(word: number, n: number) { - return (word >>> n) & 1 -} - function pack2_get(word: number, n: number) { n = n << 1 return (word >>> n) & 3 @@ -12018,10 +12014,6 @@ function pack4_get(word: number, n: number) { return (word >>> n) & 15 } -function pack1_set(word: number, n: number, x: number) { - return (word & ~(1 << n)) | (x << n) -} - function pack2_set(word: number, n: number, x: number) { n = n << 1 return (word & ~(3 << n)) | (x << n) -- cgit v1.2.3