Author: Manuel Jacob <[email protected]>
Branch:
Changeset: r81692:992f9611a8de
Date: 2016-01-13 00:38 +0100
http://bitbucket.org/pypy/pypy/changeset/992f9611a8de/
Log: Clean up after 58ef780a3875.
When committing 58ef780a3875, I unintentionally replaced the call of
`get_graph()` by `funcobj.graph`. After 419c89606228 this does
exactly the same, so I decided to clean up by removing the now-
unused import and a superfluous assertion.
diff --git a/rpython/translator/backendopt/graphanalyze.py
b/rpython/translator/backendopt/graphanalyze.py
--- a/rpython/translator/backendopt/graphanalyze.py
+++ b/rpython/translator/backendopt/graphanalyze.py
@@ -1,5 +1,4 @@
from rpython.rtyper.lltypesystem.lltype import DelayedPointer
-from rpython.translator.simplify import get_graph
from rpython.tool.algo.unionfind import UnionFind
@@ -94,7 +93,6 @@
graph = funcobj.graph
except AttributeError:
return self.top_result()
- assert graph is not None
x = self.analyze_direct_call(graph, seen)
if self.verbose and x:
self.dump_info('analyze_direct_call(%s): %r' % (graph, x))
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit