Searched refs:TableElems (Results 1 – 1 of 1) sorted by relevance
304 void writeElemSection(ArrayRef<uint32_t> TableElems);815 void WasmObjectWriter::writeElemSection(ArrayRef<uint32_t> TableElems) { in writeElemSection() argument816 if (TableElems.empty()) in writeElemSection()830 encodeULEB128(TableElems.size(), W.OS); in writeElemSection()831 for (uint32_t Elem : TableElems) in writeElemSection()1086 SmallVector<uint32_t, 4> TableElems; in writeObject() local1378 uint32_t TableIndex = TableElems.size() + kInitialTableOffset; in writeObject()1382 TableElems.push_back(FunctionIndex); in writeObject()1460 writeImportSection(Imports, DataSize, TableElems.size()); in writeObject()1466 writeElemSection(TableElems); in writeObject()