MCPcopy Create free account
hub / github.com/WebAssembly/wabt / _WriteModuleCleanUps

Method _WriteModuleCleanUps

test/run-spec-wasm2c.py:275–277  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

273 idx += 1
274
275 def _WriteModuleCleanUps(self):
276 for idx in range(self.module_idx):
277 self.out_file.write("wasm2c_%s_free(&%s);\n" % (self.GetModulePrefix(idx), self.GetModuleInstanceName(idx)))
278
279 def _WriteAssertUninstantiableCommand(self, command):
280 self.module_idx += 1

Callers 1

WriteMethod · 0.95

Calls 2

GetModulePrefixMethod · 0.95
GetModuleInstanceNameMethod · 0.95

Tested by

no test coverage detected