[parrot/parrot] 7f7caa: Remove unused context_gc_mark variable

GitHub noreply at github.com
Wed Apr 4 15:37:42 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 7f7caad5afcf2a806900e46e572cf63580db6757
      https://github.com/parrot/parrot/commit/7f7caad5afcf2a806900e46e572cf63580db6757
  Author: Brian Gernhardt <brian.gernhardt at mail.rit.edu>
  Date:   2012-04-04 (Wed, 04 Apr 2012)

  Changed paths:
    M include/parrot/sub.h
  M src/gc/mark_sweep.c
  M src/sub.c

  Log Message:
  -----------
  Remove unused context_gc_mark variable

Also removes the Parrot_sub_mark_context_start function, whose only
purpose was to increment that variable.

It looks like the variable was designed to prevent corruption of
contexts while performing GC.  However, nothing has used the variable
since 540d4c3 "Merge context_pmc3 branch into trunk." back in 2009.

Found by nine++





More information about the parrot-commits mailing list