summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gmail.com>2023-09-19 13:19:35 -0400
committerKevin Newton <kddnewton@gmail.com>2023-09-27 15:41:05 -0400
commit5b6a51ad9d586ea6fa5dc017763d0d264b7052ba (patch)
treec9e6877c15caaf89b2e177f28c05eeecc7ee0666
parent62181e17da2db729eb6d95f6edff9e028ff557b6 (diff)
[ruby/prism] shrink `yp_constant_t` by 8 bytes
https://github.com/ruby/prism/commit/5c01eb5e6f
-rw-r--r--prism/util/pm_constant_pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/util/pm_constant_pool.h b/prism/util/pm_constant_pool.h
index e320129d15..efe18c51cb 100644
--- a/prism/util/pm_constant_pool.h
+++ b/prism/util/pm_constant_pool.h
@@ -42,9 +42,9 @@ void pm_constant_id_list_free(pm_constant_id_list_t *list);
typedef struct {
unsigned int id: 31;
bool owned: 1;
+ uint32_t hash;
const uint8_t *start;
size_t length;
- uint32_t hash;
} pm_constant_t;
typedef struct {