[pypy-svn] r22855 - pypy/dist/pypy/objspace/flow
arigo at codespeak.net
arigo at codespeak.net
Sun Jan 29 19:23:42 CET 2006
Author: arigo
Date: Sun Jan 29 19:23:38 2006
New Revision: 22855
Modified:
pypy/dist/pypy/objspace/flow/model.py
Log:
Forgot to check this in.
Modified: pypy/dist/pypy/objspace/flow/model.py
==============================================================================
--- pypy/dist/pypy/objspace/flow/model.py (original)
+++ pypy/dist/pypy/objspace/flow/model.py Sun Jan 29 19:23:38 2006
@@ -519,6 +519,8 @@
newgraph = FunctionGraph(graph.name, newstartblock)
newgraph.returnblock = blockmap[graph.returnblock]
newgraph.exceptblock = blockmap[graph.exceptblock]
+ for key, value in graph.__dict__.items():
+ newgraph.__dict__.setdefault(key, value)
return newgraph
def checkgraph(graph):
More information about the Pypy-commit
mailing list