[svn:parrot] r40286 - in branches/kill_stacks: include/parrot src src/gc

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sun Jul 26 20:18:30 UTC 2009


Author: whiteknight
Date: Sun Jul 26 20:18:30 2009
New Revision: 40286
URL: https://trac.parrot.org/parrot/changeset/40286

Log:
[kill_stacks] some miscellaneous cleanups

Modified:
   branches/kill_stacks/include/parrot/sub.h
   branches/kill_stacks/src/gc/api.c
   branches/kill_stacks/src/sub.c

Modified: branches/kill_stacks/include/parrot/sub.h
==============================================================================
--- branches/kill_stacks/include/parrot/sub.h	Sun Jul 26 20:14:02 2009	(r40285)
+++ branches/kill_stacks/include/parrot/sub.h	Sun Jul 26 20:18:30 2009	(r40286)
@@ -214,7 +214,6 @@
 
     PackFile_ByteCode *caller_seg;  /* bytecode segment */
     opcode_t *address;           /* next address to run - toggled each time */
-    struct Stack_Chunk *dynamic_state; /* next dynamic state */
 } Parrot_coro;
 
 typedef struct Parrot_cont {
@@ -222,7 +221,6 @@
     PackFile_ByteCode *seg;          /* bytecode segment */
     opcode_t *address;               /* start of bytecode, addr to continue */
     struct Parrot_Context *to_ctx;   /* pointer to dest context */
-    struct Stack_Chunk *dynamic_state; /* dest dynamic state */
     /* a Continuation keeps the from_ctx alive */
     struct Parrot_Context *from_ctx; /* sub, this cont is returning from */
     opcode_t *current_results;       /* ptr into code with get_results opcode

Modified: branches/kill_stacks/src/gc/api.c
==============================================================================
--- branches/kill_stacks/src/gc/api.c	Sun Jul 26 20:14:02 2009	(r40285)
+++ branches/kill_stacks/src/gc/api.c	Sun Jul 26 20:18:30 2009	(r40286)
@@ -538,8 +538,7 @@
 Returns a new buffer-like header from the appropriate sized pool.
 A "bufferlike object" is an object that is considered to be isomorphic to the
 PObj, so it will participate in normal GC. At the moment these are only used
-to create ListChunk objects in src/list.c and Stack_Chunk objects in
-src/stacks.c.
+to create ListChunk objects in src/list.c.
 
 =cut
 

Modified: branches/kill_stacks/src/sub.c
==============================================================================
--- branches/kill_stacks/src/sub.c	Sun Jul 26 20:14:02 2009	(r40285)
+++ branches/kill_stacks/src/sub.c	Sun Jul 26 20:18:30 2009	(r40286)
@@ -192,7 +192,6 @@
 
     cc->to_ctx        = to_ctx;
     cc->from_ctx      = Parrot_context_ref(interp, CONTEXT(interp));
-    cc->dynamic_state = NULL;
     cc->runloop_id    = 0;
     if (to) {
         cc->seg       = to->seg;
@@ -227,7 +226,6 @@
 
     cc->to_ctx          = CONTEXT(interp);
     cc->from_ctx        = CONTEXT(interp);    /* filled in during a call */
-    cc->dynamic_state   = NULL;
     cc->runloop_id      = 0;
     cc->seg             = interp->code;
     cc->current_results = NULL;
@@ -257,7 +255,6 @@
 
     co->seg                = interp->code;
     co->ctx                = NULL;
-    co->dynamic_state      = NULL;
 
     return co;
 }


More information about the parrot-commits mailing list