summaryrefslogtreecommitdiff
path: root/ujit_core.h
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-01-26 16:51:44 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:28 -0400
commit81c57ab9b8a55c3572facd1fa62c4b5c38a160e0 (patch)
tree935b4ddbeacaead877f900891f92b182fa70ee66 /ujit_core.h
parenta14015e9b5594bde3ee802eb8c39d08d5b8e8249 (diff)
downloadruby-81c57ab9b8a55c3572facd1fa62c4b5c38a160e0.tar.gz
Reduce size of ctx_t
Diffstat (limited to 'ujit_core.h')
-rw-r--r--ujit_core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ujit_core.h b/ujit_core.h
index 7b230d779d..c86a9412dc 100644
--- a/ujit_core.h
+++ b/ujit_core.h
@@ -35,10 +35,10 @@ typedef struct CtxStruct
uint8_t temp_types[MAX_TEMP_TYPES];
// Number of values pushed on the temporary stack
- uint32_t stack_size;
+ uint16_t stack_size;
// Whether we know self is a heap object
- bool self_is_object;
+ bool self_is_object : 1;
} ctx_t;