Author: Remi Meier <[email protected]>
Branch: c7
Changeset: r615:0be7ec66d3be
Date: 2014-01-16 18:12 +0100
http://bitbucket.org/pypy/stmgc/changeset/0be7ec66d3be/
Log: fix test
diff --git a/c7/core.c b/c7/core.c
--- a/c7/core.c
+++ b/c7/core.c
@@ -505,9 +505,10 @@
return;
/* the location the object moved to is at an 8b offset */
- object_t **pforwared = (object_t**)(((char*)(*pobj)) + 8);
+ localchar_t *temp = ((localchar_t *)(*pobj)) + 8;
+ object_t * TLPREFIX *pforwarded = (object_t* TLPREFIX *)temp;
if ((*pobj)->stm_flags & GCFLAG_MOVED) {
- *pobj = *pforwared;
+ *pobj = *pforwarded;
return;
}
@@ -520,7 +521,7 @@
size);
(*pobj)->stm_flags |= GCFLAG_MOVED;
- *pforwared = moved;
+ *pforwarded = moved;
*pobj = moved;
_STM_TL2->old_objects_to_trace = stm_list_append
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit