From 379b95a2df2982c8fd528be41f62c8a75ad6076d Mon Sep 17 00:00:00 2001 From: Jean Boussier Date: Tue, 28 Apr 2026 09:06:06 +0900 Subject: [PATCH] Get rid of RGENGC_WB_PROTECTED_NODE_CREF It's unused. --- include/ruby/internal/gc.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/include/ruby/internal/gc.h b/include/ruby/internal/gc.h index 4cd1966405..1900b48a75 100644 --- a/include/ruby/internal/gc.h +++ b/include/ruby/internal/gc.h @@ -435,21 +435,6 @@ RBIMPL_SYMBOL_EXPORT_END() # define USE_RGENGC_LOGGING_WB_UNPROTECT 0 #endif -/** - * @private - * - * @deprecated This macro once was a thing in the old days, but makes no sense - * any longer today. Exists here for backwards compatibility - * only. You can safely forget about it. - * - * @internal - * - * @shyouhei doesn't think anybody uses this right now. - */ -#ifndef RGENGC_WB_PROTECTED_NODE_CREF -# define RGENGC_WB_PROTECTED_NODE_CREF 1 -#endif - /** * @defgroup rgengc Write barrier (WB) interfaces: *