summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2025-12-24 09:17:21 -0500
committerJean Boussier <jean.boussier@gmail.com>2026-01-09 17:31:10 +0100
commit7379b9ed780bc8fcf8c50ae2d33816523327608c (patch)
tree3619a9eb7dd0b7edefcb8861c572afacfca9fd89 /ext
parentc794a97940a36269cffcb6ad35ef7ff209fe2720 (diff)
Optimize rb_mark_generic_ivar for T_DATA and T_STRUCT
T_DATA and T_STRUCT could have ivars but might not use the generic_fields_tbl. This commit skips lookup in the generic_fields_tbl for those cases.
Diffstat (limited to 'ext')
-rw-r--r--ext/objspace/depend2
-rw-r--r--ext/ripper/depend1
2 files changed, 3 insertions, 0 deletions
diff --git a/ext/objspace/depend b/ext/objspace/depend
index bc1565aa49..04b26eb6c2 100644
--- a/ext/objspace/depend
+++ b/ext/objspace/depend
@@ -401,6 +401,7 @@ objspace.o: $(top_srcdir)/internal/sanitizers.h
objspace.o: $(top_srcdir)/internal/serial.h
objspace.o: $(top_srcdir)/internal/set_table.h
objspace.o: $(top_srcdir)/internal/static_assert.h
+objspace.o: $(top_srcdir)/internal/struct.h
objspace.o: $(top_srcdir)/internal/variable.h
objspace.o: $(top_srcdir)/internal/vm.h
objspace.o: $(top_srcdir)/internal/warnings.h
@@ -617,6 +618,7 @@ objspace_dump.o: $(top_srcdir)/internal/serial.h
objspace_dump.o: $(top_srcdir)/internal/set_table.h
objspace_dump.o: $(top_srcdir)/internal/static_assert.h
objspace_dump.o: $(top_srcdir)/internal/string.h
+objspace_dump.o: $(top_srcdir)/internal/struct.h
objspace_dump.o: $(top_srcdir)/internal/variable.h
objspace_dump.o: $(top_srcdir)/internal/vm.h
objspace_dump.o: $(top_srcdir)/internal/warnings.h
diff --git a/ext/ripper/depend b/ext/ripper/depend
index 0086708d23..bd2de75906 100644
--- a/ext/ripper/depend
+++ b/ext/ripper/depend
@@ -605,6 +605,7 @@ ripper.o: $(top_srcdir)/internal/serial.h
ripper.o: $(top_srcdir)/internal/set_table.h
ripper.o: $(top_srcdir)/internal/static_assert.h
ripper.o: $(top_srcdir)/internal/string.h
+ripper.o: $(top_srcdir)/internal/struct.h
ripper.o: $(top_srcdir)/internal/symbol.h
ripper.o: $(top_srcdir)/internal/thread.h
ripper.o: $(top_srcdir)/internal/variable.h