summaryrefslogtreecommitdiff
path: root/vm_method.c
diff options
context:
space:
mode:
authorJose Narvaez <goyox86@gmail.com>2021-03-06 23:46:56 +0000
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:31 -0400
commit4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78 (patch)
tree71e02cd04b191b9ce66801b67736cf69d831bd0b /vm_method.c
parent7f7e79d80221949f93c7ded7cbd8d26afd3dea1d (diff)
downloadruby-4e2eb7695e9b45cb5d2ae757bdb5c2043d78be78.tar.gz
Yet Another Ruby JIT!
Renaming uJIT to YJIT. AKA s/ujit/yjit/g.
Diffstat (limited to 'vm_method.c')
-rw-r--r--vm_method.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_method.c b/vm_method.c
index 08c8013010..5fd8f6a8bc 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -3,7 +3,7 @@
*/
#include "id_table.h"
-#include "ujit.h"
+#include "yjit.h"
#define METHOD_DEBUG 0
@@ -123,7 +123,7 @@ rb_vm_cc_invalidate(const struct rb_callcache *cc)
VM_ASSERT(cc->klass != 0); // should be enable
*(VALUE *)&cc->klass = 0;
- rb_ujit_method_lookup_change((VALUE)cc);
+ rb_yjit_method_lookup_change((VALUE)cc);
RB_DEBUG_COUNTER_INC(cc_ent_invalidate);
}
@@ -135,13 +135,13 @@ vm_cme_invalidate(rb_callable_method_entry_t *cme)
VM_ASSERT(callable_method_entry_p(cme));
METHOD_ENTRY_INVALIDATED_SET(cme);
RB_DEBUG_COUNTER_INC(cc_cme_invalidate);
- rb_ujit_method_lookup_change((VALUE)cme);
+ rb_yjit_method_lookup_change((VALUE)cme);
}
void
rb_clear_constant_cache(void)
{
- rb_ujit_constant_state_changed();
+ rb_yjit_constant_state_changed();
INC_GLOBAL_CONSTANT_STATE();
}