ruby-cvs:19651
From: ko1 ruby-lang.org
Date: Wed, 30 May 2007 14:56:14 +0900 (JST)
Subject: [ruby-cvs:19651] Ruby:r12415: * cont.c (cont_capture): store all local variables in heap
ko1 2007-05-30 14:56:13 +0900 (Wed, 30 May 2007)
New Revision: 12415
Modified files:
trunk/ChangeLog
trunk/cont.c
trunk/eval_intern.h
trunk/test/ruby/test_continuation.rb
trunk/vm.c
Log:
* cont.c (cont_capture): store all local variables in heap
([ruby-dev:30832]).
* vm.c (th_stack_to_heap): added.
* test/ruby/test_continuation.rb: add a test for above.
* eval_intern.h (th_get_ruby_level_cfp): fix to clean code.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/cont.c?r1=12415&r2=12414
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=12415&r2=12414
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/test_continuation.rb?r1=12415&r2=12414
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/vm.c?r1=12415&r2=12414
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/eval_intern.h?r1=12415&r2=12414