|
20 | 20 | from src.arch.z80.peephole import engine |
21 | 21 | from src.arch.z80.backend.runtime import Labels as RuntimeLabel |
22 | 22 |
|
23 | | -from .__common import runtime_call, is_int_type |
| 23 | +from .common import runtime_call, is_int_type |
24 | 24 |
|
25 | 25 | # 8 bit arithmetic functions |
26 | 26 | from .__8bit import _add8, _sub8, _mul8, _divu8, _divi8, _modu8, _modi8, _neg8, _abs8 |
|
113 | 113 | from .__pload import _pstore8, _pstore16, _pstore32, _pstoref16, _pstoref, _pstorestr |
114 | 114 | from .__pload import _paddr |
115 | 115 |
|
116 | | -from . import __common |
117 | | -from .__common import MEMORY, LABEL_COUNTER, TMP_LABELS, TMP_COUNTER, TMP_STORAGES, REQUIRES, INITS |
118 | | -from .__common import is_int, is_float, tmp_label |
| 116 | +from . import common |
| 117 | +from .common import MEMORY, LABEL_COUNTER, TMP_LABELS, TMP_COUNTER, TMP_STORAGES, REQUIRES, INITS |
| 118 | +from .common import is_int, is_float, tmp_label |
119 | 119 |
|
120 | 120 | # Array store and load instructions |
121 | 121 | from .__array import _aload8, _aload16, _aload32, _aloadf, _aloadstr |
@@ -208,7 +208,7 @@ def init(): |
208 | 208 | global FLAG_end_emitted |
209 | 209 | global FLAG_use_function_exit |
210 | 210 |
|
211 | | - __common.init() |
| 211 | + common.init() |
212 | 212 |
|
213 | 213 | ASMS = {} |
214 | 214 | ASMCOUNT = 0 |
|
0 commit comments