Searched refs:WasmPageSize (Results 1 – 4 of 4) sorted by relevance
353 if (config->initialMemory != alignTo(config->initialMemory, WasmPageSize)) in layoutMemory()354 error("initial memory must be " + Twine(WasmPageSize) + "-byte aligned"); in layoutMemory()363 memoryPtr = alignTo(memoryPtr, WasmPageSize); in layoutMemory()365 out.memorySec->numMemoryPages = memoryPtr / WasmPageSize; in layoutMemory()377 if (config->maxMemory != alignTo(config->maxMemory, WasmPageSize)) in layoutMemory()378 error("maximum memory must be " + Twine(WasmPageSize) + "-byte aligned"); in layoutMemory()397 out.memorySec->maxMemoryPages = max / WasmPageSize; in layoutMemory()
467 args::getZOptionValue(args, OPT_z, "stack-size", WasmPageSize); in readConfigs()
32 const uint32_t WasmPageSize = 65536; variable
853 uint64_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection()