aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-07 16:27:45 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-07 16:27:45 +0000
commit10bccf3465d3b268e4487ebcfb4d9c181d0fa5b2 (patch)
tree2ac882b49fcde849142328eaed7f7a36897ad455 /vm_insnhelper.h
parent7fef588378e745a19231ab3503295ff51ccffa4c (diff)
downloadruby-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 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h8
1 files changed, 4 insertions, 4 deletions
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