[前][次][番号順一覧][スレッド一覧]

ruby-changes:68878

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:15:01 +0900 (JST)
Subject: [ruby-changes:68878] e47dd8bb88 (master): WIP

https://git.ruby-lang.org/ruby.git/commit/?id=e47dd8bb88

From e47dd8bb88a10eb20afb8dc37f19ae6ee8e56f4b Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@s...>
Date: Tue, 30 Mar 2021 16:40:26 -0400
Subject: WIP

---
 yjit_core.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 https://github.com/ruby/ruby/blob/trunk/yjit_core.h#L37
     // 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.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]