Skip to content

Commit

Permalink
[mypyc] Extract more things from mypyc.genops (#8412)
Browse files Browse the repository at this point in the history
I extracted various things that did things not directly related to the
main business of genops.
  • Loading branch information
JukkaL authored Feb 17, 2020
1 parent a8f06c8 commit 0bbed9d
Show file tree
Hide file tree
Showing 5 changed files with 537 additions and 503 deletions.
3 changes: 2 additions & 1 deletion mypyc/emitmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from mypy.util import hash_digest

from mypyc import genops
from mypyc.genopsprepare import load_type_map
from mypyc.common import (
PREFIX, TOP_LEVEL_NAME, INT_PREFIX, MODULE_PREFIX, shared_lib_name,
)
Expand Down Expand Up @@ -370,7 +371,7 @@ def load_scc_from_cache(
)['ir'] for k in scc
}
modules = deserialize_modules(cache_data, ctx)
genops.load_type_map(mapper, scc, ctx)
load_type_map(mapper, scc, ctx)
return modules


Expand Down
Loading

0 comments on commit 0bbed9d

Please sign in to comment.