Author: Armin Rigo <[email protected]> Branch: shadowstack-perf Changeset: r45260:0cdaf4c98369 Date: 2011-07-01 18:28 +0200 http://bitbucket.org/pypy/pypy/changeset/0cdaf4c98369/
Log: Add this as a redirecting stub. diff --git a/pypy/jit/codewriter/regalloc.py b/pypy/jit/codewriter/regalloc.py new file mode 100644 --- /dev/null +++ b/pypy/jit/codewriter/regalloc.py @@ -0,0 +1,8 @@ +from pypy.tool.algo import regalloc +from pypy.jit.metainterp.history import getkind +from pypy.jit.codewriter.flatten import ListOfKind + + +def perform_register_allocation(graph, kind): + checkkind = lambda v: getkind(v.concretetype) == kind + return regalloc.perform_register_allocation(graph, checkkind, ListOfKind) _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
