[svn:parrot] r45846 - in branches/runcore_purge: include/parrot src
cotto at svn.parrot.org
cotto at svn.parrot.org
Wed Apr 21 08:44:41 UTC 2010
Author: cotto
Date: Wed Apr 21 08:44:41 2010
New Revision: 45846
URL: https://trac.parrot.org/parrot/changeset/45846
Log:
[runcore] remove some more prederef code that doesn't break tests
Modified:
branches/runcore_purge/include/parrot/packfile.h
branches/runcore_purge/src/packfile.c
Modified: branches/runcore_purge/include/parrot/packfile.h
==============================================================================
--- branches/runcore_purge/include/parrot/packfile.h Wed Apr 21 08:04:17 2010 (r45845)
+++ branches/runcore_purge/include/parrot/packfile.h Wed Apr 21 08:44:41 2010 (r45846)
@@ -255,7 +255,6 @@
struct PackFile_ByteCode {
PackFile_Segment base;
- Prederef prederef; /* The predereferenced code and info */
struct PackFile_Debug *debugs;
PackFile_ConstTable *const_table;
PackFile_FixupTable *fixups;
Modified: branches/runcore_purge/src/packfile.c
==============================================================================
--- branches/runcore_purge/src/packfile.c Wed Apr 21 08:04:17 2010 (r45845)
+++ branches/runcore_purge/src/packfile.c Wed Apr 21 08:44:41 2010 (r45846)
@@ -2575,16 +2575,6 @@
ASSERT_ARGS(byte_code_destroy)
PackFile_ByteCode * const byte_code = (PackFile_ByteCode *)self;
- if (byte_code->prederef.code) {
- Parrot_free_memalign(byte_code->prederef.code);
- byte_code->prederef.code = NULL;
-
- if (byte_code->prederef.branches) {
- mem_gc_free(interp, byte_code->prederef.branches);
- byte_code->prederef.branches = NULL;
- }
- }
-
byte_code->fixups = NULL;
byte_code->const_table = NULL;
byte_code->debugs = NULL;
More information about the parrot-commits
mailing list