[pypy-svn] r67344 - pypy/branch/pyjitpl5-llmodel/pypy/jit/backend/x86

arigo at codespeak.net arigo at codespeak.net
Sun Aug 30 17:34:28 CEST 2009


Author: arigo
Date: Sun Aug 30 17:34:28 2009
New Revision: 67344

Modified:
   pypy/branch/pyjitpl5-llmodel/pypy/jit/backend/x86/assembler.py
Log:
Add a comment.


Modified: pypy/branch/pyjitpl5-llmodel/pypy/jit/backend/x86/assembler.py
==============================================================================
--- pypy/branch/pyjitpl5-llmodel/pypy/jit/backend/x86/assembler.py	(original)
+++ pypy/branch/pyjitpl5-llmodel/pypy/jit/backend/x86/assembler.py	Sun Aug 30 17:34:28 2009
@@ -786,6 +786,8 @@
         mc.TEST(loc_cond, loc_mask)
         mc.write('\x74\x00')             # JZ after_the_call
         jz_location = mc.get_relative_pos()
+        # the following is supposed to be the slow path, so whenever possible
+        # we choose the most compact encoding over the most efficient one.
         for i in range(len(arglocs)-1, 4, -1):
             mc.PUSH(arglocs[i])
         mc.CALL(rel32(op.args[3].getint()))



More information about the Pypy-commit mailing list