Project

General

Profile

Actions

Bug #2315

closed

[PATCH] gc.c: DRY machine stack calculations

Added by sunaku (Suraj Kurapati) about 15 years ago. Updated over 13 years ago.

Status:
Closed
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
Actions

Also available in: Atom PDF

Like0
Like0