Searched refs:TableElems (Results 1 – 1 of 1) sorted by relevance
303 void writeElemSection(ArrayRef<uint32_t> TableElems);845 void WasmObjectWriter::writeElemSection(ArrayRef<uint32_t> TableElems) { in writeElemSection() argument846 if (TableElems.empty()) in writeElemSection()860 encodeULEB128(TableElems.size(), W.OS); in writeElemSection()861 for (uint32_t Elem : TableElems) in writeElemSection()1157 SmallVector<uint32_t, 4> TableElems; in writeObject() local1487 uint32_t TableIndex = TableElems.size() + kInitialTableOffset; in writeObject()1491 TableElems.push_back(FunctionIndex); in writeObject()1572 writeImportSection(Imports, DataSize, TableElems.size()); in writeObject()1579 writeElemSection(TableElems); in writeObject()