Lines Matching full:globals
27 if (module.globals) os << module.functions->size() << " globals";
156 size_t AllocateGlobalsOffsets(std::vector<WasmGlobal>* globals) {
158 if (!globals) return 0;
159 for (WasmGlobal& global : *globals) {
219 : globals(nullptr),
227 if (globals) delete globals;
296 // Allocate the globals area if necessary.
298 size_t globals_size = AllocateGlobalsOffsets(globals);
304 // Not enough space for backing store of globals.
305 thrower.Error("Out of memory: wasm globals");
440 // Allocate temporary linear memory and globals.
442 size_t globals_size = AllocateGlobalsOffsets(module->globals);