1.1 --- a/jitcraft/Platform-Windows.cpp Sat Jul 07 01:45:33 2012 -0400
1.2 +++ b/jitcraft/Platform-Windows.cpp Sat Jul 07 17:11:31 2012 -0700
1.3 @@ -63,11 +63,11 @@
1.4 }
1.5
1.6 static Address
1.7 -MapMemoryAt(Address address, size_t amount, MapMode mode, Protection prot_)
1.8 +MapMemoryAt(Address address, size_t amount, OS::MapMode mode, OS::Protection prot_)
1.9 {
1.10 DWORD bits = ToProtBits(prot_);
1.11 DWORD flags = MEM_RESERVE;
1.12 - if (mode == Map_Commit)
1.13 + if (mode == OS::Map_Commit)
1.14 flags |= MEM_COMMIT;
1.15
1.16 Address x = (Address)VirtualAlloc((LPVOID)address, amount, flags, bits);