aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authorAlan Wu <alanwu@ruby-lang.org>2023-12-12 17:24:17 -0500
committerAlan Wu <alanwu@ruby-lang.org>2023-12-12 17:24:17 -0500
commit9f77eb1f5a1e52a32b249abaef990e50c31e2ecc (patch)
tree0edefe8d7efce8cff066db3609033978eb18b666 /proc.c
parentd4bbee7475269972cf56ebd3b5e4dc9905789663 (diff)
downloadruby-9f77eb1f5a1e52a32b249abaef990e50c31e2ecc.tar.gz
Remove unused macros
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/proc.c b/proc.c
index c770e79880..84409c09f9 100644
--- a/proc.c
+++ b/proc.c
@@ -23,15 +23,6 @@
#include "vm_core.h"
#include "yjit.h"
-#if !defined(__GNUC__) || __GNUC__ < 5 || defined(__MINGW32__)
-# define NO_CLOBBERED(v) (*(volatile VALUE *)&(v))
-#else
-# define NO_CLOBBERED(v) (v)
-#endif
-
-#define UPDATE_TYPED_REFERENCE(_type, _ref) *(_type*)&_ref = (_type)rb_gc_location((VALUE)_ref)
-#define UPDATE_REFERENCE(_ref) UPDATE_TYPED_REFERENCE(VALUE, _ref)
-
const rb_cref_t *rb_vm_cref_in_context(VALUE self, VALUE cbase);
struct METHOD {