[pypy-svn] r67058 - pypy/branch/pyjitpl5/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Fri Aug 21 13:02:05 CEST 2009
Author: arigo
Date: Fri Aug 21 13:02:04 2009
New Revision: 67058
Modified:
pypy/branch/pyjitpl5/pypy/objspace/std/typeobject.py
Log:
(iko, arigo)
Kill one guard...
Modified: pypy/branch/pyjitpl5/pypy/objspace/std/typeobject.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/objspace/std/typeobject.py (original)
+++ pypy/branch/pyjitpl5/pypy/objspace/std/typeobject.py Fri Aug 21 13:02:04 2009
@@ -188,12 +188,12 @@
space = w_self.space
assert space.config.objspace.std.withmethodcache
version_tag = w_self.version_tag
+ version_tag = hint(version_tag, promote=True)
if version_tag is None:
tup = w_self._lookup_where(name)
return tup
w_self = hint(w_self, promote=True)
name = hint(name, promote=True)
- version_tag = hint(version_tag, promote=True)
return w_self._pure_lookup_where_with_method_cache(name, version_tag)
@purefunction
More information about the Pypy-commit
mailing list