Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r57441:e6358c596d5f
Date: 2012-09-20 10:43 -0700
http://bitbucket.org/pypy/pypy/changeset/e6358c596d5f/
Log: fix indenting
diff --git a/pypy/objspace/flow/flowcontext.py
b/pypy/objspace/flow/flowcontext.py
--- a/pypy/objspace/flow/flowcontext.py
+++ b/pypy/objspace/flow/flowcontext.py
@@ -114,22 +114,22 @@
# which is deemed not acceptable for simplicity of the operations
# that will be performed later on the flow graph.
for link in list(graph.iterlinks()):
- block = link.target
- if isinstance(block, EggBlock):
- if (not block.operations and len(block.exits) == 1 and
- link.args == block.inputargs): # not renamed
- # if the variables are not renamed across this link
- # (common case for EggBlocks) then it's easy enough to
- # get rid of the empty EggBlock.
- link2 = block.exits[0]
- link.args = list(link2.args)
- link.target = link2.target
- assert link2.exitcase is None
- else:
- mapping = {}
- for a in block.inputargs:
- mapping[a] = Variable(a)
- block.renamevariables(mapping)
+ block = link.target
+ if isinstance(block, EggBlock):
+ if (not block.operations and len(block.exits) == 1 and
+ link.args == block.inputargs): # not renamed
+ # if the variables are not renamed across this link
+ # (common case for EggBlocks) then it's easy enough to
+ # get rid of the empty EggBlock.
+ link2 = block.exits[0]
+ link.args = list(link2.args)
+ link.target = link2.target
+ assert link2.exitcase is None
+ else:
+ mapping = {}
+ for a in block.inputargs:
+ mapping[a] = Variable(a)
+ block.renamevariables(mapping)
for block in graph.iterblocks():
if isinstance(link, SpamBlock):
del link.framestate # memory saver
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit