jitcraft/Platform-Windows.cpp
changeset 53 13bd3a8df334
parent 28 a9665857cfd5
child 59 b7d61ddb3c8d
     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);