aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-21 06:22:43 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-21 06:22:43 +0000
commite6484a153038703447b50fcac26349249922ab28 (patch)
tree1a130685901ccd896f5c8cdec2b4193b7076df3f /vm_insnhelper.h
parentd358972213b5a50d7a9dc019b3b586aedf7f846e (diff)
downloadruby-e6484a153038703447b50fcac26349249922ab28.tar.gz
vm_core.h: export symbols of shared variables
vm_insnhelper.h: ditto. All changes are for reducing changes required to introduce JIT compiler. Unlike functions that can be inlined by header, those variables should be shared with JIT-ed code. This will help reducing cost of rebase against upstream. [close GH-1720] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index 33720cfb21..6d0532b29a 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -12,8 +12,12 @@
#ifndef RUBY_INSNHELPER_H
#define RUBY_INSNHELPER_H
+RUBY_SYMBOL_EXPORT_BEGIN
+
extern VALUE ruby_vm_const_missing_count;
+RUBY_SYMBOL_EXPORT_END
+
#if VM_COLLECT_USAGE_DETAILS
#define COLLECT_USAGE_INSN(insn) vm_collect_usage_insn(insn)
#define COLLECT_USAGE_OPERAND(insn, n, op) vm_collect_usage_operand((insn), (n), ((VALUE)(op)))