mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 20:19:19 +00:00
ZJIT: Actually call rb_zjit_root_update_references()
Previously unused.
This commit is contained in:
parent
6ea7557353
commit
63483e75b8
1
depend
1
depend
@ -5797,6 +5797,7 @@ gc.$(OBJEXT): {$(VPATH)}vm_debug.h
|
||||
gc.$(OBJEXT): {$(VPATH)}vm_opts.h
|
||||
gc.$(OBJEXT): {$(VPATH)}vm_sync.h
|
||||
gc.$(OBJEXT): {$(VPATH)}yjit.h
|
||||
gc.$(OBJEXT): {$(VPATH)}zjit.h
|
||||
goruby.$(OBJEXT): $(CCAN_DIR)/check_type/check_type.h
|
||||
goruby.$(OBJEXT): $(CCAN_DIR)/container_of/container_of.h
|
||||
goruby.$(OBJEXT): $(CCAN_DIR)/list/list.h
|
||||
|
||||
9
gc.c
9
gc.c
@ -127,6 +127,7 @@
|
||||
#include "vm_callinfo.h"
|
||||
#include "ractor_core.h"
|
||||
#include "yjit.h"
|
||||
#include "zjit.h"
|
||||
|
||||
#include "builtin.h"
|
||||
#include "shape.h"
|
||||
@ -4106,6 +4107,14 @@ rb_gc_update_vm_references(void *objspace)
|
||||
rb_yjit_root_update_references();
|
||||
}
|
||||
#endif
|
||||
|
||||
#if USE_ZJIT
|
||||
void rb_zjit_root_update_references(void); // in Rust
|
||||
|
||||
if (rb_zjit_enabled_p) {
|
||||
rb_zjit_root_update_references();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user