[pypy-svn] r63283 - pypy/branch/pyjitpl5-PyGirl/pypy/rlib

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Mar 24 17:57:09 CET 2009


Author: cfbolz
Date: Tue Mar 24 17:57:07 2009
New Revision: 63283

Modified:
   pypy/branch/pyjitpl5-PyGirl/pypy/rlib/jit.py
Log:
rename self, for the case where there is a jit variable called self


Modified: pypy/branch/pyjitpl5-PyGirl/pypy/rlib/jit.py
==============================================================================
--- pypy/branch/pyjitpl5-PyGirl/pypy/rlib/jit.py	(original)
+++ pypy/branch/pyjitpl5-PyGirl/pypy/rlib/jit.py	Tue Mar 24 17:57:07 2009
@@ -113,13 +113,13 @@
     def _freeze_(self):
         return True
 
-    def jit_merge_point(self, **livevars):
+    def jit_merge_point(_self_with_unlikely_name, **livevars):
         # special-cased by ExtRegistryEntry
-        assert dict.fromkeys(livevars) == self._alllivevars
+        assert dict.fromkeys(livevars) == _self_with_unlikely_name._alllivevars
 
-    def can_enter_jit(self, **livevars):
+    def can_enter_jit(_self_with_unlikely_name, **livevars):
         # special-cased by ExtRegistryEntry
-        assert dict.fromkeys(livevars) == self._alllivevars
+        assert dict.fromkeys(livevars) == _self_with_unlikely_name._alllivevars
 
     def _set_param(self, name, value):
         # special-cased by ExtRegistryEntry



More information about the Pypy-commit mailing list