aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2023-06-01 14:55:36 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2023-06-01 14:55:36 -0700
commit10621f7cb9a0c70e568f89cce47a02e878af6778 (patch)
treecb8ce96582f7780a8093be1239689f768c74e6e5 /internal
parent2d2893f206b1ff012ac68bddbeb860ca737b765f (diff)
downloadruby-10621f7cb9a0c70e568f89cce47a02e878af6778.tar.gz
Revert "Fix cvar caching when class is cloned"
This reverts commit 77d1b082470790c17c24a2f406b4fec5d522636b.
Diffstat (limited to 'internal')
-rw-r--r--internal/class.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/class.h b/internal/class.h
index d76da84bd1..b33c807e97 100644
--- a/internal/class.h
+++ b/internal/class.h
@@ -17,9 +17,6 @@
#include "ruby/intern.h" /* for rb_alloc_func_t */
#include "ruby/ruby.h" /* for struct RBasic */
#include "shape.h"
-#include "ruby_assert.h"
-#include "vm_core.h"
-#include "method.h" /* for rb_cref_t */
#ifdef RCLASS_SUPER
# undef RCLASS_SUPER
@@ -35,7 +32,6 @@ typedef struct rb_subclass_entry rb_subclass_entry_t;
struct rb_cvar_class_tbl_entry {
uint32_t index;
rb_serial_t global_cvar_state;
- const rb_cref_t * cref;
VALUE class_value;
};