[svn:parrot] r44409 - branches/boehm_gc_2/config/gen/crypto
bacek at svn.parrot.org
bacek at svn.parrot.org
Tue Feb 23 21:03:34 UTC 2010
Author: bacek
Date: Tue Feb 23 21:03:33 2010
New Revision: 44409
URL: https://trac.parrot.org/parrot/changeset/44409
Log:
Use GC allocations
Modified:
branches/boehm_gc_2/config/gen/crypto/digest_pmc.in
Modified: branches/boehm_gc_2/config/gen/crypto/digest_pmc.in
==============================================================================
--- branches/boehm_gc_2/config/gen/crypto/digest_pmc.in Tue Feb 23 21:03:11 2010 (r44408)
+++ branches/boehm_gc_2/config/gen/crypto/digest_pmc.in Tue Feb 23 21:03:33 2010 (r44409)
@@ -70,7 +70,7 @@
VTABLE PMC* clone() {
@TEMP_md_guard@
PMC *retval = Parrot_pmc_new_noinit(INTERP, SELF->vtable->base_type);
- @TEMP_md_ctx@ *c = mem_allocate_zeroed_typed(@TEMP_md_ctx@);
+ @TEMP_md_ctx@ *c = mem_gc_allocate_zeroed_typed(INTERP, @TEMP_md_ctx@);
memcpy(c, PMC_data(SELF), sizeof (@TEMP_md_ctx@));
PMC_data(retval) = c;
More information about the parrot-commits
mailing list