[pypy-svn] r72156 - pypy/extradoc/planning

fijal at codespeak.net fijal at codespeak.net
Fri Mar 12 03:54:25 CET 2010


Author: fijal
Date: Fri Mar 12 03:54:24 2010
New Revision: 72156

Modified:
   pypy/extradoc/planning/jit.txt
Log:
another issue


Modified: pypy/extradoc/planning/jit.txt
==============================================================================
--- pypy/extradoc/planning/jit.txt	(original)
+++ pypy/extradoc/planning/jit.txt	Fri Mar 12 03:54:24 2010
@@ -48,6 +48,17 @@
   don't escape and call simplified version that does not allocate all
   frames. Sounds hard
 
+- if we move a promotion up the chain, some arguments don't get replaced
+  with constants (those between current and previous locations). So we get
+  like
+
+  guard_value(p3, ConstPtr(X))
+  getfield_gc(p3, descr)
+  getfield_gc(ConstPtr(X), descr)
+
+  maybe we should move promote even higher, before the first use and we
+  could possibly remove more stuff?
+
 Python interpreter:
 
 - goal: on average <=5 guards per original bytecode.



More information about the Pypy-commit mailing list