summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-02 22:07:43 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-02 22:07:43 +0900
commit8eaee918922e3542aec3ffa01321e019aab842ab (patch)
treed20dcf951b76b53c73ba6c838edda5a60f780c55 /include
parentb4043256d073228ee93b861f15bac24f7c19bffb (diff)
parentc816558b01d400f762d7bee6a7245a3a2c73e9b7 (diff)
downloadmruby-8eaee918922e3542aec3ffa01321e019aab842ab.tar.gz
mruby-8eaee918922e3542aec3ffa01321e019aab842ab.zip
Merge pull request #1988 from ksss/khash-mask
delete unused indexes __m_* masks
Diffstat (limited to 'include')
-rw-r--r--include/mruby/khash.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mruby/khash.h b/include/mruby/khash.h
index a19505e91..17e6806b0 100644
--- a/include/mruby/khash.h
+++ b/include/mruby/khash.h
@@ -27,9 +27,9 @@ typedef khint_t khiter_t;
/* extern uint8_t __m[]; */
/* mask for flags */
-static const uint8_t __m_empty[8] = {0x02, 0x08, 0x20, 0x80};
-static const uint8_t __m_del[8] = {0x01, 0x04, 0x10, 0x40};
-static const uint8_t __m_either[8] = {0x03, 0x0c, 0x30, 0xc0};
+static const uint8_t __m_empty[] = {0x02, 0x08, 0x20, 0x80};
+static const uint8_t __m_del[] = {0x01, 0x04, 0x10, 0x40};
+static const uint8_t __m_either[] = {0x03, 0x0c, 0x30, 0xc0};
#define __ac_isempty(ed_flag, i) (ed_flag[(i)/4]&__m_empty[(i)%4])