ruby-changes:20118
From: ko1 <ko1@a...>
Date: Sat, 18 Jun 2011 18:56:12 +0900 (JST)
Subject: [ruby-changes:20118] ko1:r32166 (trunk): * vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place.
ko1 2011-06-18 18:56:01 +0900 (Sat, 18 Jun 2011) New Revision: 32166 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32166 Log: * vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place. Modified files: trunk/ChangeLog trunk/vm.c trunk/vm_core.h Index: ChangeLog =================================================================== --- ChangeLog (revision 32165) +++ ChangeLog (revision 32166) @@ -1,3 +1,7 @@ +Sat Jun 18 18:54:15 2011 Koichi Sasada <ko1@a...> + + * vm.c, vm_core.h (rb_vm_stack_to_heap): fix "const" place. + Sat Jun 18 17:23:38 2011 Tanaka Akira <akr@f...> * eval.c, hash.c, load.c, proc.c, range.c, thread.c, time.c: don't Index: vm_core.h =================================================================== --- vm_core.h (revision 32165) +++ vm_core.h (revision 32166) @@ -660,7 +660,7 @@ rb_control_frame_t *rb_vm_get_ruby_level_next_cfp(rb_thread_t *th, rb_control_frame_t *cfp); int rb_vm_get_sourceline(const rb_control_frame_t *); VALUE rb_name_err_mesg_new(VALUE obj, VALUE mesg, VALUE recv, VALUE method); -void rb_vm_stack_to_heap(rb_thread_t *th); +void rb_vm_stack_to_heap(const rb_thread_t *th); void ruby_thread_init_stack(rb_thread_t *th); NOINLINE(void rb_gc_save_machine_context(rb_thread_t *)); Index: vm.c =================================================================== --- vm.c (revision 32165) +++ vm.c (revision 32166) @@ -478,7 +478,7 @@ } void -rb_vm_stack_to_heap(rb_thread_t * const th) +rb_vm_stack_to_heap(const rb_thread_t *th) { rb_control_frame_t *cfp = th->cfp; while ((cfp = rb_vm_get_ruby_level_next_cfp(th, cfp)) != 0) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/