Author: chromatic
Date: Thu Feb 21 15:02:50 2008
New Revision: 25955
Modified:
trunk/languages/lua/pmc/luathread.pmc
Log:
[Lua] Fixed a GC bug in LuaThread -- mark() marked the wrong thing as live.
Modified: trunk/languages/lua/pmc/luathread.pmc
==============================================================================
--- trunk/languages/lua/pmc/luathread.pmc (original)
+++ trunk/languages/lua/pmc/luathread.pmc Thu Feb 21 15:02:50 2008
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2005-2007, The Perl Foundation.
+Copyright (C) 2005-2008, The Perl Foundation.
$Id$
=head1 NAME
@@ -77,8 +77,8 @@
*/
void mark() {
- if (PMC_struct_val(SELF))
- pobject_lives(INTERP, PMC_struct_val(SELF));
+ if (PMC_pmc_val(SELF))
+ pobject_lives(INTERP, PMC_pmc_val(SELF));
}
/*