diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-18 05:33:36 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-18 05:33:36 +0000 |
commit | 1128e61562bd05ade1afcc8b2a7b52a37b7818e6 (patch) | |
tree | dc512ccada286583cbd331ce0a4b60622a99c85d /vm_core.h | |
parent | 829ab73879fe7b997a295e2d4c4684fd528105dc (diff) | |
download | ruby-1128e61562bd05ade1afcc8b2a7b52a37b7818e6.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@22395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |