diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2021-03-30 16:40:26 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:32 -0400 |
commit | e47dd8bb88a10eb20afb8dc37f19ae6ee8e56f4b (patch) | |
tree | a333c0d9e6643d5c13138f69e52e4139c096d834 /yjit_core.h | |
parent | c5f31264287a1c587448e9a437603da1b8497e67 (diff) |
WIP
Diffstat (limited to 'yjit_core.h')
-rw-r--r-- | yjit_core.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/yjit_core.h b/yjit_core.h index 3a937e198c..020719dd43 100644 --- a/yjit_core.h +++ b/yjit_core.h @@ -37,7 +37,11 @@ typedef struct yjit_val_type // Value is definitely an immediate uint8_t is_imm : 1; - // NOTE: we could switch this to an enum, + // Not Qfalse or Qnil + // Is this useful? + //uint8_t is_truthy: 1; + + // NOTE: we could switch to using an enum to track multiple types // but then we also need a value for "unknown type" uint8_t is_fixnum : 1; //uint8_t is_array : 1; // for opt_aref |