diff options
| author | Lucas Santos <117400842+LucasSantos91@users.noreply.github.com> | 2024-05-09 21:39:11 -0300 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2024-05-10 22:51:52 +0300 |
| commit | f71f27bcb0ceb851a7c95f3970d644623b8d67ba (patch) | |
| tree | 7811b7a0c8a678a3d216f86354ec84c792674b5d /lib/std/Build/Module.zig | |
| parent | fe1b3976064e2d5b08590bf78aa4f4220c757da3 (diff) | |
| download | zig-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
