summaryrefslogtreecommitdiff
path: root/shape.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 21:34:31 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-06 21:59:23 -0800
commit233ddfac541749a0da80ea27913dc1ef4ea700bb (patch)
treed0b0d5939225ed1ebbb03c1dbeae7f0d3548092b /shape.c
parent31f4b2d86bfbc753cec9be376719acc4b120e944 (diff)
downloadruby-233ddfac541749a0da80ea27913dc1ef4ea700bb.tar.gz
Stop exporting symbols for MJIT
Diffstat (limited to 'shape.c')
-rw-r--r--shape.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shape.c b/shape.c
index 0e21d8a921..699f7c5f64 100644
--- a/shape.c
+++ b/shape.c
@@ -172,7 +172,7 @@ get_next_shape_internal(rb_shape_t * shape, ID id, enum shape_type shape_type, b
return res;
}
-MJIT_FUNC_EXPORTED int
+int
rb_shape_frozen_shape_p(rb_shape_t* shape)
{
return SHAPE_FROZEN == (enum shape_type)shape->type;
@@ -424,7 +424,7 @@ rb_shape_alloc(ID edge_name, rb_shape_t * parent)
return rb_shape_alloc_with_size_pool_index(edge_name, parent, parent->size_pool_index);
}
-MJIT_FUNC_EXPORTED void
+void
rb_shape_set_shape(VALUE obj, rb_shape_t* shape)
{
rb_shape_set_shape_id(obj, rb_shape_id(shape));