Home
last modified time | relevance | path

Searched refs:WasmGlobal (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/wasm/
Dwasm-module.h69 struct WasmGlobal { struct
97 std::vector<WasmGlobal>* globals; // globals in this module.
Dmodule-decoder.cc52 module->globals = new std::vector<WasmGlobal>(); in DecodeModule()
144 WasmGlobal* global = &module->globals->back(); in DecodeModule()
286 void DecodeGlobalInModule(WasmGlobal* global) { in DecodeGlobalInModule()
Dwasm-module.cc156 size_t AllocateGlobalsOffsets(std::vector<WasmGlobal>* globals) { in AllocateGlobalsOffsets()
159 for (WasmGlobal& global : *globals) { in AllocateGlobalsOffsets()
/external/v8/test/cctest/wasm/
Dwasm-run-utils.h105 WasmGlobal* global = AddGlobal(mem_type); in AddGlobal()
176 WasmGlobal* AddGlobal(MachineType mem_type) { in AddGlobal()
180 module->globals = new std::vector<WasmGlobal>(); in AddGlobal()
/external/v8/test/unittests/wasm/
Dmodule-decoder-unittest.cc83 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()
Dast-decoder-unittest.cc1212 mod.globals = new std::vector<WasmGlobal>; in TestModuleEnv()