mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
mjit.h: introduce MJIT_STATIC for full mswin JIT support
This change resolves most of major remaining MJIT bugs on mswin. Since Visual Studio doesn't support generating pre-processed code preserving macros, we can't use transform_mjit_header approach for mswin. So we need to transform MJIT header using macro like this. vm.c: use MJIT_STATIC for non-static functions that exist on MJIT header and cause conflict on link. vm_insnhelper.c: ditto test_jit.rb: remove many skips for mswin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b62c1a22b3
commit
950d100700
4 changed files with 21 additions and 44 deletions
2
vm.c
2
vm.c
|
@ -549,7 +549,7 @@ vm_get_ruby_level_caller_cfp(const rb_execution_context_t *ec, const rb_control_
|
|||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
MJIT_STATIC void
|
||||
rb_vm_pop_cfunc_frame(void)
|
||||
{
|
||||
rb_execution_context_t *ec = GET_EC();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue