[pypy-commit] pypy default: Document the registers on x86-64 in this file too
arigo
noreply at buildbot.pypy.org
Tue Jul 30 14:12:20 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r65814:228ee0fda188
Date: 2013-07-30 14:11 +0200
http://bitbucket.org/pypy/pypy/changeset/228ee0fda188/
Log: Document the registers on x86-64 in this file too
diff --git a/rpython/memory/gctransform/asmgcroot.py b/rpython/memory/gctransform/asmgcroot.py
--- a/rpython/memory/gctransform/asmgcroot.py
+++ b/rpython/memory/gctransform/asmgcroot.py
@@ -729,6 +729,10 @@
# - frame address (actually the addr of the retaddr of the current function;
# that's the last word of the frame in memory)
#
+# On 64 bits, it is an array of 7 values instead of 5:
+#
+# - %rbx, %r12, %r13, %r14, %r15, %rbp; and the frame address
+#
if IS_64_BITS:
CALLEE_SAVED_REGS = 6
More information about the pypy-commit
mailing list