summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2022-09-26 16:09:50 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2022-09-26 16:10:11 -0700
commit06abfa5be60e589052eb3bdfdae6c132bea3d20b (patch)
tree32200df9a517d30a92dfe1003057e03cfba44701 /vm_core.h
parentb39690df3a90a838cdb2de71e70a20651ebafaf4 (diff)
downloadruby-06abfa5be60e589052eb3bdfdae6c132bea3d20b.tar.gz
Revert this until we can figure out WB issues or remove shapes from GC
Revert "* expand tabs. [ci skip]" This reverts commit 830b5b5c351c5c6efa5ad461ae4ec5085e5f0275. Revert "This commit implements the Object Shapes technique in CRuby." This reverts commit 9ddfd2ca004d1952be79cf1b84c52c79a55978f4.
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/vm_core.h b/vm_core.h
index b4768be136..e11838a59a 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -99,7 +99,6 @@ extern int ruby_assert_critical_section_entered;
#include "ruby/st.h"
#include "ruby_atomic.h"
#include "vm_opts.h"
-#include "shape.h"
#include "ruby/thread_native.h"
@@ -273,9 +272,7 @@ struct iseq_inline_constant_cache {
};
struct iseq_inline_iv_cache_entry {
- shape_id_t source_shape_id;
- shape_id_t dest_shape_id;
- attr_index_t attr_index;
+ struct rb_iv_index_tbl_entry *entry;
};
struct iseq_inline_cvar_cache_entry {
@@ -690,12 +687,6 @@ typedef struct rb_vm_struct {
VALUE mark_object_ary;
const VALUE special_exceptions[ruby_special_error_count];
- /* object shapes */
- rb_shape_t **shape_list;
- rb_shape_t *root_shape;
- rb_shape_t *frozen_root_shape;
- shape_id_t max_shape_count;
-
/* load */
VALUE top_self;
VALUE load_path;