Skip to content

[mypyc] Refactor: move IR transforms to new package (mypyc.transform) #8507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions mypyc/codegen/emitmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
from mypyc.ir.class_ir import ClassIR
from mypyc.ir.module_ir import ModuleIR, ModuleIRs, deserialize_modules
from mypyc.options import CompilerOptions
from mypyc.uninit import insert_uninit_checks
from mypyc.refcount import insert_ref_count_opcodes
from mypyc.exceptions import insert_exception_handling
from mypyc.transform.uninit import insert_uninit_checks
from mypyc.transform.refcount import insert_ref_count_opcodes
from mypyc.transform.exceptions import insert_exception_handling
from mypyc.namegen import NameGenerator, exported_name
from mypyc.errors import Errors

Expand Down
2 changes: 1 addition & 1 deletion mypyc/test/test_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from mypyc.common import TOP_LEVEL_NAME
from mypyc import analysis
from mypyc import exceptions
from mypyc.transform import exceptions
from mypyc.ir.func_ir import format_func
from mypyc.test.testutil import (
ICODE_GEN_BUILTINS, use_custom_builtins, MypycDataSuite, build_ir_for_single_file,
Expand Down
6 changes: 3 additions & 3 deletions mypyc/test/test_exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

from mypyc.common import TOP_LEVEL_NAME
from mypyc.ir.func_ir import format_func
from mypyc.uninit import insert_uninit_checks
from mypyc.exceptions import insert_exception_handling
from mypyc.refcount import insert_ref_count_opcodes
from mypyc.transform.uninit import insert_uninit_checks
from mypyc.transform.exceptions import insert_exception_handling
from mypyc.transform.refcount import insert_ref_count_opcodes
from mypyc.test.testutil import (
ICODE_GEN_BUILTINS, use_custom_builtins, MypycDataSuite, build_ir_for_single_file,
assert_test_output, remove_comment_lines
Expand Down
2 changes: 1 addition & 1 deletion mypyc/test/test_refcount.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from mypyc.common import TOP_LEVEL_NAME
from mypyc.ir.func_ir import format_func
from mypyc.refcount import insert_ref_count_opcodes
from mypyc.transform.refcount import insert_ref_count_opcodes
from mypyc.test.testutil import (
ICODE_GEN_BUILTINS, use_custom_builtins, MypycDataSuite, build_ir_for_single_file,
assert_test_output, remove_comment_lines
Expand Down
Empty file added mypyc/transform/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.