Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dlocal-decl-encoder.cc27 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit()
28 for (auto& local_decl : local_decls) { in Emit()
41 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals()
42 count += local_decls.back().first; in AddLocals()
43 local_decls.pop_back(); in AddLocals()
45 local_decls.push_back(std::pair<uint32_t, ValueType>(count, type)); in AddLocals()
50 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); in Size()
51 for (auto p : local_decls) size += 1 + LEBHelper::sizeof_u32v(p.first); in Size()
Dlocal-decl-encoder.h22 : sig(s), local_decls(zone), total(0) {} in sig()
42 ZoneVector<std::pair<uint32_t, ValueType>> local_decls; variable