[pypy-svn] r70896 - pypy/trunk/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Tue Jan 26 18:29:41 CET 2010


Author: arigo
Date: Tue Jan 26 18:29:40 2010
New Revision: 70896

Modified:
   pypy/trunk/pypy/interpreter/pyframe.py
Log:
I think that these promote are pointless by now.


Modified: pypy/trunk/pypy/interpreter/pyframe.py
==============================================================================
--- pypy/trunk/pypy/interpreter/pyframe.py	(original)
+++ pypy/trunk/pypy/interpreter/pyframe.py	Tue Jan 26 18:29:40 2010
@@ -167,14 +167,14 @@
     def pushvalue(self, w_object):
         depth = self.valuestackdepth
         self.valuestack_w[depth] = w_object
-        self.valuestackdepth = hint(depth + 1, promote=True)
+        self.valuestackdepth = depth + 1
 
     def popvalue(self):
         depth = self.valuestackdepth - 1
         assert depth >= 0, "pop from empty value stack"
         w_object = self.valuestack_w[depth]
         self.valuestack_w[depth] = None
-        self.valuestackdepth = hint(depth, promote=True)
+        self.valuestackdepth = depth
         return w_object
 
 



More information about the Pypy-commit mailing list