[pypy-svn] r9658 - pypy/dist/pypy/translator
arigo at codespeak.net
arigo at codespeak.net
Sat Mar 5 15:40:43 CET 2005
Author: arigo
Date: Sat Mar 5 15:40:43 2005
New Revision: 9658
Modified:
pypy/dist/pypy/translator/geninterplevel.py
Log:
There is no point in using the flow space's SpecTag hints any more. It
works just as well without.
Modified: pypy/dist/pypy/translator/geninterplevel.py
==============================================================================
--- pypy/dist/pypy/translator/geninterplevel.py (original)
+++ pypy/dist/pypy/translator/geninterplevel.py Sat Mar 5 15:40:43 2005
@@ -105,7 +105,7 @@
self.space = FlowObjSpace() # for introspection
self.use_fast_call = True
- self.specialize_goto = True
+ self.specialize_goto = False
self._labeltable = {} # unique label names, reused per func
self._space_arities = None
@@ -956,13 +956,13 @@
print >> f, docstr
fast_locals = [arg for arg in localnames if arg not in fast_set]
- # if goto is specialized, the false detection of
- # uninitialized variables goes away.
- if fast_locals and not self.specialize_goto:
- print >> f
- for line in self.large_initialize(fast_locals):
- print >> f, " %s" % line
- print >> f
+## # if goto is specialized, the false detection of
+## # uninitialized variables goes away.
+## if fast_locals and not self.specialize_goto:
+## print >> f
+## for line in self.large_initialize(fast_locals):
+## print >> f, " %s" % line
+## print >> f
# print the body
for line in body:
More information about the Pypy-commit
mailing list