[svn:parrot] r40736 - trunk/lib/Parrot/Pmc2c
whiteknight at svn.parrot.org
whiteknight at svn.parrot.org
Sun Aug 23 12:57:27 UTC 2009
Author: whiteknight
Date: Sun Aug 23 12:57:26 2009
New Revision: 40736
URL: https://trac.parrot.org/parrot/changeset/40736
Log:
[gc] I think I've fixed the error that we're seeing. I'm still not entirely certain what's happening internally that messes this up, but this fixes it.
Modified:
trunk/lib/Parrot/Pmc2c/PMCEmitter.pm
Modified: trunk/lib/Parrot/Pmc2c/PMCEmitter.pm
==============================================================================
--- trunk/lib/Parrot/Pmc2c/PMCEmitter.pm Sun Aug 23 12:51:04 2009 (r40735)
+++ trunk/lib/Parrot/Pmc2c/PMCEmitter.pm Sun Aug 23 12:57:26 2009 (r40736)
@@ -1113,7 +1113,7 @@
elsif ($letter eq 'P') {
return (
'PPP->P',
- 'PMC *retval;',
+ 'PMC *retval = PMCNULL;',
", &retval",
"return retval;",
);
More information about the parrot-commits
mailing list