Debian Codegraph @

rpython/jit/codewriter/regalloc.py

raw symbols SCIP
1 from rpython.tool.algo import regalloc
2 from rpython.jit.metainterp.history import getkind
3 from rpython.jit.codewriter.flatten import ListOfKind
4
5
6 def perform_register_allocation(graph, kind):
7 checkkind = lambda v: getkind(v.concretetype) == kind
8 return regalloc.perform_register_allocation(graph, checkkind, ListOfKind)