0001-revert-r29673-optimization-which-caused-segfaults.patch

fix segfaults due to dangling references in the cache - Eric Wong, 04/07/2011 08:45 AM

Download (774 Bytes)

View differences:

vm_method.c
85 85
{
86 86
    struct cache_entry *ent, *end;
87 87

  
88
    if (RCLASS_M_TBL(klass)->num_entries == 0)
89
        return;
90

  
91 88
    rb_vm_change_state();
92 89

  
93 90
    if (!ruby_running)