Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/wasm/
Dlocal-decl-encoder.cc33 LEBHelper::write_u32v(&pos, static_cast<uint32_t>(local_decls.size())); in Emit()
34 for (auto& local_decl : local_decls) { in Emit()
55 if (local_decls.size() > 0 && local_decls.back().second == type) { in AddLocals()
56 count += local_decls.back().first; in AddLocals()
57 local_decls.pop_back(); in AddLocals()
59 local_decls.push_back(std::pair<uint32_t, ValueType>(count, type)); in AddLocals()
66 size_t size = LEBHelper::sizeof_u32v(local_decls.size()); in Size()
67 for (auto p : local_decls) { in Size()
Dlocal-decl-encoder.h25 : sig(s), local_decls(zone), total(0) {} in sig()
45 ZoneVector<std::pair<uint32_t, ValueType>> local_decls; variable
/third_party/node/test/fixtures/wpt/wasm/jsapi/
Dwasm-module-builder.js1146 let local_decls = [];
1149 local_decls.push({count: l.i32_count, type: kWasmI32});
1152 local_decls.push({count: l.i64_count, type: kWasmI64});
1155 local_decls.push({count: l.f32_count, type: kWasmF32});
1158 local_decls.push({count: l.f64_count, type: kWasmF64});
1161 local_decls.push({count: l.s128_count, type: kWasmS128});
1164 local_decls.push({count: l.anyref_count, type: kWasmAnyRef});
1167 local_decls.push({count: l.anyfunc_count, type: kWasmAnyFunc});
1171 header.emit_u32v(local_decls.length);
1172 for (let decl of local_decls) {