Searched refs:WasmGlobal (Results 1 – 6 of 6) sorted by relevance
69 struct WasmGlobal { struct97 std::vector<WasmGlobal>* globals; // globals in this module.
52 module->globals = new std::vector<WasmGlobal>(); in DecodeModule()144 WasmGlobal* global = &module->globals->back(); in DecodeModule()286 void DecodeGlobalInModule(WasmGlobal* global) { in DecodeGlobalInModule()
156 size_t AllocateGlobalsOffsets(std::vector<WasmGlobal>* globals) { in AllocateGlobalsOffsets()159 for (WasmGlobal& global : *globals) { in AllocateGlobalsOffsets()
105 WasmGlobal* global = AddGlobal(mem_type); in AddGlobal()176 WasmGlobal* AddGlobal(MachineType mem_type) { in AddGlobal()180 module->globals = new std::vector<WasmGlobal>(); in AddGlobal()
83 WasmGlobal* global = &result.val->globals->back(); in TEST_F()206 WasmGlobal* g0 = &result.val->globals->at(0); in TEST_F()207 WasmGlobal* g1 = &result.val->globals->at(1); in TEST_F()504 WasmGlobal* global = &result.val->globals->back(); in TEST_F()
1212 mod.globals = new std::vector<WasmGlobal>; in TestModuleEnv()