| 214 | const get_optional_import = name => this.wm.exports[name]; |
| 215 | |
| 216 | const get_import = name => |
| 217 | { |
| 218 | const f = get_optional_import(name); |
| 219 | console.assert(f, "Missing import: " + name); |
| 220 | return f; |
| 221 | }; |
| 222 | |
| 223 | this.reset_cpu = get_import("reset_cpu"); |
| 224 |
no test coverage detected