[pypy-commit] stmgc copy-over-original2: Remove a memcpy() which is not needed any more, I believe
arigo
noreply at buildbot.pypy.org
Fri Jul 26 16:31:10 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch: copy-over-original2
Changeset: r452:e8704368e5f9
Date: 2013-07-26 16:29 +0200
http://bitbucket.org/pypy/stmgc/changeset/e8704368e5f9/
Log: Remove a memcpy() which is not needed any more, I believe
diff --git a/c4/extra.c b/c4/extra.c
--- a/c4/extra.c
+++ b/c4/extra.c
@@ -105,12 +105,9 @@
p, (gcptr)p->h_original));
}
else {
- /* must create shadow original object XXX: or use
- backup, if exists */
+ /* must create shadow original object
+ (XXX could use the backup, if it exists) */
gcptr O = (gcptr)stmgcpage_malloc(stmgc_size(p));
- memcpy(O, p, stmgc_size(p)); /* at least major collections
- depend on some content of id_copy.
- remove after fixing that XXX */
O->h_tid |= GCFLAG_OLD;
p->h_original = (revision_t)O;
More information about the pypy-commit
mailing list