summaryrefslogtreecommitdiffstats
path: root/vm_core.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-18 05:33:36 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-18 05:33:36 +0000
commitb2d36552a1f91c78f7784440272ef50fcff65137 (patch)
treedc512ccada286583cbd331ce0a4b60622a99c85d /vm_core.h
parent42ea80d4557cc8fd7d48951f67bb93f1b157c277 (diff)
downloadruby-b2d36552a1f91c78f7784440272ef50fcff65137.tar.gz
ruby-b2d36552a1f91c78f7784440272ef50fcff65137.tar.xz
ruby-b2d36552a1f91c78f7784440272ef50fcff65137.zip
* array.c (rb_ary_resurrect), string.c (rb_str_resurrect): new
functions based on [ruby-dev:37983] * insns.def (putstring, duparray): use rb_{ary,str}_resurrect(). * iseq.c (iseq_data_to_ary): needs to result TS_VALUE. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index dd5f3400d..511c1e319 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -599,6 +599,9 @@ NOINLINE(void rb_gc_save_machine_context(rb_thread_t *));
#define sysstack_error GET_VM()->special_exceptions[ruby_error_sysstack]
+VALUE rb_str_resurrect(VALUE str);
+VALUE rb_ary_resurrect(VALUE ary);
+
/* for thread */
#if RUBY_VM_THREAD_MODEL == 2