summaryrefslogtreecommitdiff
path: root/yjit_core.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2021-05-25 13:12:48 -0700
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:35 -0400
commit764740c6615292dc994707b964c135871149fb2b (patch)
tree1188ab34a32cd3023b44e7cf1b3fc2471947329d /yjit_core.h
parent844067f7ee40a406314c6b570df82fc43d519131 (diff)
Merge pull request #50 from jhawthorn/detect_type
Detect types from putobject and getinlinecache
Diffstat (limited to 'yjit_core.h')
-rw-r--r--yjit_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit_core.h b/yjit_core.h
index 948ea3bd72..d9cce3fe56 100644
--- a/yjit_core.h
+++ b/yjit_core.h
@@ -67,6 +67,7 @@ STATIC_ASSERT(val_type_size, sizeof(val_type_t) == 1);
#define TYPE_FIXNUM ( (val_type_t){ .is_imm = 1, .type = ETYPE_FIXNUM } )
#define TYPE_ARRAY ( (val_type_t){ .is_heap = 1, .type = ETYPE_ARRAY } )
#define TYPE_HASH ( (val_type_t){ .is_heap = 1, .type = ETYPE_HASH } )
+#define TYPE_STRING ( (val_type_t){ .is_heap = 1, .type = ETYPE_STRING } )
enum yjit_temp_loc
{