aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-07-13 09:47:33 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-07-13 14:48:14 -0400
commit87e1486d31b26749cc2768ca299faed1b7629d57 (patch)
tree6a598066e62b18da0041fea780f395a11b53f232 /internal
parent32231812845e5302bd457f7e4a534e7965d89d49 (diff)
downloadruby-87e1486d31b26749cc2768ca299faed1b7629d57.tar.gz
Remove unused references to the transient heap
Diffstat (limited to 'internal')
-rw-r--r--internal/struct.h1
-rw-r--r--internal/variable.h4
2 files changed, 0 insertions, 5 deletions
diff --git a/internal/struct.h b/internal/struct.h
index 00158c87d9..6da5bad10a 100644
--- a/internal/struct.h
+++ b/internal/struct.h
@@ -15,7 +15,6 @@ enum {
RSTRUCT_EMBED_LEN_MASK = RUBY_FL_USER7 | RUBY_FL_USER6 | RUBY_FL_USER5 | RUBY_FL_USER4 |
RUBY_FL_USER3 | RUBY_FL_USER2 | RUBY_FL_USER1,
RSTRUCT_EMBED_LEN_SHIFT = (RUBY_FL_USHIFT+1),
- RSTRUCT_TRANSIENT_FLAG = RUBY_FL_USER8,
};
struct RStruct {
diff --git a/internal/variable.h b/internal/variable.h
index ed622cd905..c467489b77 100644
--- a/internal/variable.h
+++ b/internal/variable.h
@@ -15,10 +15,6 @@
#include "ruby/ruby.h" /* for VALUE */
#include "shape.h" /* for rb_shape_t */
-/* global variable */
-
-#define ROBJECT_TRANSIENT_FLAG FL_USER2
-
/* variable.c */
void rb_gc_mark_global_tbl(void);
void rb_gc_update_global_tbl(void);