reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1136 uint32_t FunctionCount = readVaruint32(Ctx); 1144 const uint8_t *FunctionStart = Ctx.Ptr; 1145 uint32_t Size = readVaruint32(Ctx); 1146 const uint8_t *FunctionEnd = Ctx.Ptr + Size; 1148 Function.CodeOffset = Ctx.Ptr - FunctionStart; 1150 Function.CodeSectionOffset = FunctionStart - Ctx.Start; 1153 uint32_t NumLocalDecls = readVaruint32(Ctx); 1157 Decl.Count = readVaruint32(Ctx); 1158 Decl.Type = readUint8(Ctx); 1162 uint32_t BodySize = FunctionEnd - Ctx.Ptr; 1163 Function.Body = ArrayRef<uint8_t>(Ctx.Ptr, BodySize); 1166 Ctx.Ptr += BodySize; 1167 assert(Ctx.Ptr == FunctionEnd); 1170 if (Ctx.Ptr != Ctx.End) 1170 if (Ctx.Ptr != Ctx.End)