mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Cast jit_func for Windows
https://ci.appveyor.com/project/ruby/ruby/builds/39542385/job/8b7aq951f9t01x4x
This commit is contained in:
parent
c5e8a49bde
commit
474f79958b
1 changed files with 1 additions and 1 deletions
2
mjit.c
2
mjit.c
|
@ -270,7 +270,7 @@ mjit_add_iseq_to_process(const rb_iseq_t *iseq, const struct rb_mjit_compile_inf
|
|||
CRITICAL_SECTION_START(3, "in add_iseq_to_process");
|
||||
|
||||
// This prevents multiple Ractors from enqueueing the same ISeq twice.
|
||||
if (rb_multi_ractor_p() && iseq->body->jit_func != NOT_ADDED_JIT_ISEQ_FUNC) {
|
||||
if (rb_multi_ractor_p() && (uintptr_t)iseq->body->jit_func != NOT_ADDED_JIT_ISEQ_FUNC) {
|
||||
CRITICAL_SECTION_FINISH(3, "in add_iseq_to_process");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue