summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-01-16 17:23:46 -0800
committerTakashi Kokubun <[email protected]>2024-01-16 17:27:53 -0800
commite37a37e696fdb97a3028f04d8439c010d52adb62 (patch)
tree89c69e354b1b430fc16fe74189f2974d3b95d65f /compile.c
parent1addb3955c456b01bb029b30dd6343298da0729d (diff)
Drop obsoleted BUILTIN_ATTR_NO_GC attribute
The thing that has used this in the past was very buggy, and we've never revisied it. Let's remove it until we need it again.
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/compile.c b/compile.c
index 2d7e81d54e..0aa9a70511 100644
--- a/compile.c
+++ b/compile.c
@@ -8636,9 +8636,6 @@ compile_builtin_attr(rb_iseq_t *iseq, const NODE *node)
if (strcmp(RSTRING_PTR(string), "leaf") == 0) {
ISEQ_BODY(iseq)->builtin_attrs |= BUILTIN_ATTR_LEAF;
}
- else if (strcmp(RSTRING_PTR(string), "no_gc") == 0) {
- ISEQ_BODY(iseq)->builtin_attrs |= BUILTIN_ATTR_NO_GC;
- }
else {
goto unknown_arg;
}