From e47dd8bb88a10eb20afb8dc37f19ae6ee8e56f4b Mon Sep 17 00:00:00 2001 From: Maxime Chevalier-Boisvert Date: Tue, 30 Mar 2021 16:40:26 -0400 Subject: WIP --- yjit_core.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'yjit_core.h') 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 -- cgit v1.2.3