[pypy-svn] r67049 - pypy/branch/pyjitpl5/pypy/jit/backend
benjamin at codespeak.net
benjamin at codespeak.net
Thu Aug 20 18:50:12 CEST 2009
Author: benjamin
Date: Thu Aug 20 18:50:11 2009
New Revision: 67049
Modified:
pypy/branch/pyjitpl5/pypy/jit/backend/loopparser.py
Log:
use 'p' prefix for pointer vars
Modified: pypy/branch/pyjitpl5/pypy/jit/backend/loopparser.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/backend/loopparser.py (original)
+++ pypy/branch/pyjitpl5/pypy/jit/backend/loopparser.py Thu Aug 20 18:50:11 2009
@@ -88,19 +88,19 @@
@property
def pretty(self):
- return "i%s" % (self.iden,)
+ return "%s%s" % (self._var_prefix, self.iden)
class Box(AbstractValue):
pass
class BoxInt(Box):
- pass
+ _var_prefix = "i"
class BoxAddr(Box):
pass
class BoxPtr(Box):
- pass
+ _var_prefix = "p"
class Const(AbstractValue):
More information about the Pypy-commit
mailing list