Project

General

Profile

Bug #2315

[PATCH] gc.c: DRY machine stack calculations

Added by sunaku (Suraj Kurapati) almost 11 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-10-31 trunk 25467) [i686-linux]
Backport:
[ruby-core:26443]

Description

=begin
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.
=end


Files

get_machine_stack_bounds.patch (3.64 KB) get_machine_stack_bounds.patch sunaku (Suraj Kurapati), 10/31/2009 02:15 PM
#1

Updated by nobu (Nobuyoshi Nakada) almost 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r25604.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF