mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add a proper cast to pass JIT tests on mswin.
https://ci.appveyor.com/project/ruby/ruby/builds/29001248/job/ye80bsrmewdgw294
This commit is contained in:
parent
eee70b41d4
commit
1197a036ae
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ mjit_compile_body(FILE *f, const rb_iseq_t *iseq, struct compile_status *status)
|
|||
fprintf(f, " VALUE *stack = reg_cfp->sp;\n");
|
||||
}
|
||||
if (status->inlined_iseqs != NULL) // i.e. compile root
|
||||
fprintf(f, " static const rb_iseq_t *original_iseq = 0x%"PRIxVALUE";\n", (VALUE)iseq);
|
||||
fprintf(f, " static const rb_iseq_t *original_iseq = (const rb_iseq_t *)0x%"PRIxVALUE";\n", (VALUE)iseq);
|
||||
fprintf(f, " static const VALUE *const original_body_iseq = (VALUE *)0x%"PRIxVALUE";\n",
|
||||
(VALUE)body->iseq_encoded);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue