Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent authored Oct 1, 2023
1 parent 3fff474 commit 0cc26a9
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions w2c2/c.c
Original file line number Diff line number Diff line change
Expand Up @@ -3746,27 +3746,6 @@ wasmCWriteFunctionImport(
);
}

static
void
wasmCWriteInitFunctionImports(
FILE* file,
const WasmModule* module,
const char* moduleName,
bool pretty,
bool multipleModules
) {
const size_t functionImportCount = module->functionImports.length;
U32 functionIndex = 0;
for (; functionIndex < functionImportCount; functionIndex++) {
const WasmFunctionImport import = module->functionImports.imports[functionIndex];
wasmCWriteInitImportAssignment(file, import.module, import.name, pretty);
fputc('(', file);
wasmCWriteFunctionImport(file, module, moduleName, import, false, pretty, multipleModules);
fputc(')', file);
wasmCWriteInitImportValue(file, import.module, import.name);
}
}

static
void
wasmCWriteInitGlobalImports(
Expand Down

0 comments on commit 0cc26a9

Please sign in to comment.