summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-21 00:10:09 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-21 00:10:09 +0200
commitd38bd7128125717e125d2c2b1eb44952d02e5ae4 (patch)
tree1bd5b2a70af8b95afd02f5c7322f754e1d7500f8
parente5f544997d6f5d0eee9972e3154a8c8f3a896030 (diff)
downloadplantagenet-d38bd7128125717e125d2c2b1eb44952d02e5ae4.tar.gz
Remove dead code.
-rw-r--r--rules.ts8
1 files changed, 0 insertions, 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)