diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-07 16:27:45 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-08-07 16:27:45 +0000 |
commit | 10bccf3465d3b268e4487ebcfb4d9c181d0fa5b2 (patch) | |
tree | 2ac882b49fcde849142328eaed7f7a36897ad455 /mjit.h | |
parent | 7fef588378e745a19231ab3503295ff51ccffa4c (diff) | |
download | bundler-10bccf3465d3b268e4487ebcfb4d9c181d0fa5b2.tar.gz |
mjit.c: initial support for mswin MJIT
By this commit's changes in other files, now MJIT started to work on VC++.
Unfortunately some features are still broken and they'll be fixed later.
This also suppresses cl.exe's default output to stdout because there
seems to be no option to do it. Tweaking some log messages as well.
vm_core.h: declare `__declspec(dllimport)` to export them correctly on mswin.
vm_insnhelper.h: ditto
mjit.h: ditto
test_jit.rb: skipped some pending tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'mjit.h')
-rw-r--r-- | mjit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,8 +56,8 @@ typedef VALUE (*mjit_func_t)(rb_execution_context_t *, rb_control_frame_t *); extern int mjit_enabled; RUBY_SYMBOL_EXPORT_BEGIN -extern struct mjit_options mjit_opts; -extern int mjit_call_p; +RUBY_EXTERN struct mjit_options mjit_opts; +RUBY_EXTERN int mjit_call_p; extern void mjit_add_iseq_to_process(const rb_iseq_t *iseq); extern mjit_func_t mjit_get_iseq_func(struct rb_iseq_constant_body *body); |