Bug #2315: [PATCH] gc.c: DRY machine stack calculations
http://redmine.ruby-lang.org/issues/show/2315

Author: Suraj Kurapati
Status: Open, Priority: Normal
Category: core
ruby -v: ruby 1.9.2dev (2009-10-31 trunk 25467) [i686-linux]

Hi,

This patch refactors *duplicated* machine stack calculation code from 
mark_current_machine_context() and rb_gc_mark_machine_stack() in gc.c
into a new internal get_machine_stack_bounds() function.

Thanks for your consideration.


----------------------------------------
http://redmine.ruby-lang.org