Lines Matching refs:tableImport
307 const WasmImport *tableImport = nullptr; in addLegacyIndirectFunctionTableIfNeeded() local
310 assert(!tableImport); in addLegacyIndirectFunctionTableIfNeeded()
311 tableImport = &import; in addLegacyIndirectFunctionTableIfNeeded()
314 assert(tableImport); in addLegacyIndirectFunctionTableIfNeeded()
319 if (tableImport->Field != functionTableName || in addLegacyIndirectFunctionTableIfNeeded()
320 tableImport->Table.ElemType != uint8_t(ValType::FUNCREF)) { in addLegacyIndirectFunctionTableIfNeeded()
321 error(toString(this) + ": table import " + Twine(tableImport->Field) + in addLegacyIndirectFunctionTableIfNeeded()
327 info->Name = tableImport->Field; in addLegacyIndirectFunctionTableIfNeeded()
329 info->ImportModule = tableImport->Module; in addLegacyIndirectFunctionTableIfNeeded()
330 info->ImportName = tableImport->Field; in addLegacyIndirectFunctionTableIfNeeded()
339 make<WasmSymbol>(*info, globalType, &tableImport->Table, signature); in addLegacyIndirectFunctionTableIfNeeded()