aboutsummaryrefslogtreecommitdiffstats
path: root/mjit.c
diff options
context:
space:
mode:
Diffstat (limited to 'mjit.c')
-rw-r--r--mjit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/mjit.c b/mjit.c
index 30de51794e..6652ff6186 100644
--- a/mjit.c
+++ b/mjit.c
@@ -1674,8 +1674,6 @@ system_tmpdir(void)
/* Minimum value for JIT cache size. */
#define MIN_CACHE_SIZE 10
-extern const char ruby_description_with_jit[];
-
/* Start MJIT worker. Return TRUE if worker is sucessfully started. */
static int
start_worker(void)
@@ -1702,8 +1700,6 @@ start_worker(void)
void
mjit_init(struct mjit_options *opts)
{
- VALUE rb_description;
-
mjit_opts = *opts;
mjit_enabled = TRUE;
mjit_call_p = TRUE;
@@ -1755,11 +1751,6 @@ mjit_init(struct mjit_options *opts)
rb_id_table_foreach(RCLASS_CONST_TBL(rb_cObject), valid_class_serials_add_i, NULL);
}
- /* Overwrites RUBY_DESCRIPTION constant */
- rb_const_remove(rb_cObject, rb_intern("RUBY_DESCRIPTION"));
- rb_description = rb_usascii_str_new_static(ruby_description_with_jit, strlen(ruby_description_with_jit));
- rb_define_global_const("RUBY_DESCRIPTION", rb_obj_freeze(rb_description));
-
/* Initialize worker thread */
start_worker();
}