Insert functions in another Module to current one. Parameters ---------- other: IRModule The module to merge into the current Module.
(self, other)
| 127 | return _ffi_api.Module_Contains(self, var) |
| 128 | |
| 129 | def update(self, other): |
| 130 | """Insert functions in another Module to current one. |
| 131 | |
| 132 | Parameters |
| 133 | ---------- |
| 134 | other: IRModule |
| 135 | The module to merge into the current Module. |
| 136 | """ |
| 137 | if isinstance(other, dict): |
| 138 | other = IRModule(other) |
| 139 | |
| 140 | return _ffi_api.Module_Update(self, other) |
| 141 | |
| 142 | def update_func(self, var, func): |
| 143 | """Update the function corresponding to a global variable in the |
no test coverage detected