From 10bccf3465d3b268e4487ebcfb4d9c181d0fa5b2 Mon Sep 17 00:00:00 2001 From: k0kubun Date: Tue, 7 Aug 2018 16:27:45 +0000 Subject: 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 --- vm_insnhelper.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vm_insnhelper.h') diff --git a/vm_insnhelper.h b/vm_insnhelper.h index e897322f2f..e65e889898 100644 --- a/vm_insnhelper.h +++ b/vm_insnhelper.h @@ -14,10 +14,10 @@ RUBY_SYMBOL_EXPORT_BEGIN -extern VALUE ruby_vm_const_missing_count; -extern rb_serial_t ruby_vm_global_method_state; -extern rb_serial_t ruby_vm_global_constant_state; -extern rb_serial_t ruby_vm_class_serial; +RUBY_EXTERN VALUE ruby_vm_const_missing_count; +RUBY_EXTERN rb_serial_t ruby_vm_global_method_state; +RUBY_EXTERN rb_serial_t ruby_vm_global_constant_state; +RUBY_EXTERN rb_serial_t ruby_vm_class_serial; RUBY_SYMBOL_EXPORT_END -- cgit v1.2.3