[pypy-commit] pypy jitframe-on-heap: leave some comments
fijal
noreply at buildbot.pypy.org
Fri Jan 25 18:56:03 CET 2013
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: jitframe-on-heap
Changeset: r60476:d17f7b6d6256
Date: 2013-01-25 19:55 +0200
http://bitbucket.org/pypy/pypy/changeset/d17f7b6d6256/
Log: leave some comments
diff --git a/rpython/jit/backend/x86/assembler.py b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -203,9 +203,11 @@
base_ofs = self.cpu.get_baseofs_of_frame_field()
self._push_all_regs_to_frame(mc, [], self.cpu.supports_floats)
assert not IS_X86_32
+ # this is the gcmap stored by push_gcmap(mov=True) in _check_stack_frame
mc.MOV_rs(ecx.value, WORD)
gcmap_ofs = self.cpu.get_ofs_of_frame_field('jf_gcmap')
mc.MOV_br(gcmap_ofs, ecx.value)
+ # this is size that we're after, sanity checking only
mc.MOV_rs(esi.value, WORD*2)
# push first arg
mc.LEA_rb(edi.value, -base_ofs)
More information about the pypy-commit
mailing list