aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Module.zig
diff options
context:
space:
mode:
authorLucas Santos <117400842+LucasSantos91@users.noreply.github.com>2024-05-09 21:39:11 -0300
committerVeikka Tuominen <git@vexu.eu>2024-05-10 22:51:52 +0300
commitf71f27bcb0ceb851a7c95f3970d644623b8d67ba (patch)
tree7811b7a0c8a678a3d216f86354ec84c792674b5d /lib/std/Build/Module.zig
parentfe1b3976064e2d5b08590bf78aa4f4220c757da3 (diff)
downloadzig-f71f27bcb0ceb851a7c95f3970d644623b8d67ba.tar.gz
zig-f71f27bcb0ceb851a7c95f3970d644623b8d67ba.zip
Avoid unnecessary operation in PageAllocator.
There's no need to call `alignForward` before `VirtualAlloc`. From [MSDN](https://learn.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-virtualalloc): ``` If the lpAddress parameter is NULL, this value is rounded up to the next page boundary ```
Diffstat (limited to 'lib/std/Build/Module.zig')
0 files changed, 0 insertions, 0 deletions