Author: jhoblitt
Date: Fri Sep 30 00:11:55 2005
New Revision: 9280
Modified:
trunk/classes/continuation.pmc
trunk/classes/exception_handler.pmc
trunk/classes/retcontinuation.pmc
Log:
gcc 4.0.x compatibility fix - use PMC_cont_ASSIGN() instead of PMC_cont() as an
lvalue in:
classes/retcontinuation.pmc
classes/continuation.pmc
classes/exception_handler.pmc
Modified: trunk/classes/continuation.pmc
==============================================================================
--- trunk/classes/continuation.pmc (original)
+++ trunk/classes/continuation.pmc Fri Sep 30 00:11:55 2005
@@ -106,7 +106,7 @@ Destroys the continuation.
if (cc->ctx_copy)
mem_sys_free(cc->ctx_copy);
mem_sys_free(cc);
- PMC_cont(SELF) = NULL;
+ PMC_cont_ASSIGN(SELF, NULL);
}
}
/*
Modified: trunk/classes/exception_handler.pmc
==============================================================================
--- trunk/classes/exception_handler.pmc (original)
+++ trunk/classes/exception_handler.pmc Fri Sep 30 00:11:55 2005
@@ -63,7 +63,7 @@ Initializes the exception handler.
if (cc->ctx_copy)
mem_sys_free(cc->ctx_copy);
mem_sys_free(cc);
- PMC_cont(SELF) = NULL;
+ PMC_cont_ASSIGN(SELF, NULL);
}
}
}
Modified: trunk/classes/retcontinuation.pmc
==============================================================================
--- trunk/classes/retcontinuation.pmc (original)
+++ trunk/classes/retcontinuation.pmc Fri Sep 30 00:11:55 2005
@@ -53,7 +53,7 @@ Initializes the continuation.
struct Parrot_cont * cc = PMC_cont(SELF);
if (cc) {
mem_sys_free(cc);
- PMC_cont(SELF) = NULL;
+ PMC_cont_ASSIGN(SELF, NULL);
}
}
/*