[svn:parrot] r44461 - branches/boehm_gc_2/compilers/imcc
bacek at svn.parrot.org
bacek at svn.parrot.org
Wed Feb 24 20:22:08 UTC 2010
Author: bacek
Date: Wed Feb 24 20:22:07 2010
New Revision: 44461
URL: https://trac.parrot.org/parrot/changeset/44461
Log:
HACK: Don't clear memory in IMCC. It's allocated in strange way and causes segfaults...
Modified:
branches/boehm_gc_2/compilers/imcc/imc.c
branches/boehm_gc_2/compilers/imcc/imclexer.c
Modified: branches/boehm_gc_2/compilers/imcc/imc.c
==============================================================================
--- branches/boehm_gc_2/compilers/imcc/imc.c Wed Feb 24 20:21:45 2010 (r44460)
+++ branches/boehm_gc_2/compilers/imcc/imc.c Wed Feb 24 20:22:07 2010 (r44461)
@@ -142,7 +142,7 @@
{
ASSERT_ARGS(imc_cleanup)
IMCC_pop_parser_state(interp, yyscanner);
- clear_globals(interp);
+ //clear_globals(interp);
mem_gc_free(interp, IMCC_INFO(interp)->ghash.data);
IMCC_INFO(interp)->ghash.data = NULL;
Modified: branches/boehm_gc_2/compilers/imcc/imclexer.c
==============================================================================
--- branches/boehm_gc_2/compilers/imcc/imclexer.c Wed Feb 24 20:21:45 2010 (r44460)
+++ branches/boehm_gc_2/compilers/imcc/imclexer.c Wed Feb 24 20:22:07 2010 (r44461)
@@ -5259,8 +5259,8 @@
} else
ret = frame->s.line;
- mem_gc_free(interp, frame->s.file);
- mem_gc_free(interp, frame);
+ //mem_gc_free(interp, frame->s.file);
+ //mem_gc_free(interp, frame);
if (buffer != NULL)
yy_switch_to_buffer(buffer,yyscanner);
More information about the parrot-commits
mailing list