From 99093e1600ccef17ab99356b689573fcfd336ecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Mon, 17 Aug 2020 11:12:23 +0900 Subject: RHASH_TBL: is now ext-only It seems almost no internal codes use RHASH_TBL any longer. Why not just eliminate it entirely, so that the macro can be purely ext-only. --- internal/hash.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'internal') diff --git a/internal/hash.h b/internal/hash.h index f77102506e..73d71deaa2 100644 --- a/internal/hash.h +++ b/internal/hash.h @@ -107,13 +107,8 @@ VALUE rb_hash_keys(VALUE hash); VALUE rb_hash_has_key(VALUE hash, VALUE key); VALUE rb_hash_compare_by_id_p(VALUE hash); -#if RHASH_CONVERT_TABLE_DEBUG st_table *rb_hash_tbl_raw(VALUE hash, const char *file, int line); #define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h, __FILE__, __LINE__) -#else -st_table *rb_hash_tbl_raw(VALUE hash); -#define RHASH_TBL_RAW(h) rb_hash_tbl_raw(h) -#endif MJIT_SYMBOL_EXPORT_END #if 0 /* for debug */ -- cgit v1.2.3