| Index: src/platform.h
|
| diff --git a/src/platform.h b/src/platform.h
|
| index 31f727cf460abad4cf1e5e4a92a0b836633079db..06d3ca467618a17e1ac7a530b977aa32ffb030f0 100644
|
| --- a/src/platform.h
|
| +++ b/src/platform.h
|
| @@ -288,6 +288,10 @@ class OS {
|
| // positions indicated by the members of the CpuFeature enum from globals.h
|
| static uint64_t CpuFeaturesImpliedByPlatform();
|
|
|
| + // Maximum size of the virtual memory. 0 means there is no artificial
|
| + // limit.
|
| + static intptr_t MaxVirtualMemory();
|
| +
|
| // Returns the double constant NAN
|
| static double nan_value();
|
|
|
|
|