Lines Matching defs:FunctionEnv
26 struct FunctionEnv { struct
27 ModuleEnv* module; // module environment
28 FunctionSig* sig; // signature of this function
29 uint32_t local_int32_count; // number of int32 locals
30 uint32_t local_int64_count; // number of int64 locals
31 uint32_t local_float32_count; // number of float32 locals
32 uint32_t local_float64_count; // number of float64 locals
33 uint32_t total_locals; // sum of parameters and all locals
35 bool IsValidLocal(uint32_t index) { return index < total_locals; } in IsValidLocal()
36 uint32_t GetLocalCount() { return total_locals; } in GetLocalCount()
37 LocalType GetLocalType(uint32_t index) { in GetLocalType()
52 void AddLocals(LocalType type, uint32_t count) { in AddLocals()
87 TreeResult VerifyWasmCode(FunctionEnv* env, const byte* base, const byte* start, argument