Lines Matching defs:Global
219 Expr.Inst.Value.Global = readULEB128(Ctx);
763 wasm::WasmGlobal &Global = Globals[GlobalIndex];
764 GlobalType = &Global.Type;
765 if (Global.SymbolName.empty())
766 Global.SymbolName = Info.Name;
775 GlobalType = &Import.Global;
1281 Im.Global.Type = readUint8(Ctx);
1282 Im.Global.Mutable = readVaruint1(Ctx);
1413 wasm::WasmGlobal Global;
1414 Global.Index = NumImportedGlobals + Globals.size();
1416 Global.Offset = static_cast<uint32_t>(GlobalStart - SectionStart);
1418 Global.Type.Type = (uint8_t)parseValType(Ctx, GlobalOpcode);
1419 Global.Type.Mutable = readVaruint1(Ctx);
1420 if (Error Err = readInitExpr(Global.InitExpr, Ctx))
1422 Global.Size = static_cast<uint32_t>(Ctx.Ptr - GlobalStart);
1423 Globals.push_back(Global);
1466 auto Global = getDefinedGlobal(Ex.Index);
1467 if (!Global.InitExpr.Extended) {
1468 auto Inst = Global.InitExpr.Inst;