Home
last modified time | relevance | path

Searched refs:local_decls (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/wasm/
Dwasm-macro-gen.h179 : sig(s), local_decls(zone), total(0) {} in sig()
195 pos = WriteUint32v(buffer, pos, static_cast<uint32_t>(local_decls.size())); in Emit()
196 for (size_t i = 0; i < local_decls.size(); ++i) { in Emit()
197 pos = WriteUint32v(buffer, pos, local_decls[i].first); in Emit()
198 buffer[pos++] = WasmOpcodes::LocalTypeCodeFor(local_decls[i].second); in Emit()
210 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals()
211 count += local_decls.back().first; in AddLocals()
212 local_decls.pop_back(); in AddLocals()
214 local_decls.push_back(std::pair<uint32_t, LocalType>(count, type)); in AddLocals()
219 size_t size = SizeofUint32v(static_cast<uint32_t>(local_decls.size())); in Size()
[all …]