Index: src/base/sys-info.cc |
diff --git a/src/base/sys-info.cc b/src/base/sys-info.cc |
index a2dc6ab27fc7e8f649dfd2dcc005092ee404de09..1b6d39397e73346b2195fc5889375b1b574fd0b6 100644 |
--- a/src/base/sys-info.cc |
+++ b/src/base/sys-info.cc |
@@ -85,9 +85,6 @@ int64_t SysInfo::AmountOfPhysicalMemory() { |
return 0; |
} |
return static_cast<int64_t>(stat_buf.st_size); |
-#elif V8_OS_NACL |
- // No support for _SC_PHYS_PAGES, assume 2GB. |
- return static_cast<int64_t>(1) << 31; |
#elif V8_OS_AIX |
int64_t result = sysconf(_SC_AIX_REALMEM); |
return static_cast<int64_t>(result) * 1024L; |
@@ -104,7 +101,7 @@ int64_t SysInfo::AmountOfPhysicalMemory() { |
// static |
int64_t SysInfo::AmountOfVirtualMemory() { |
-#if V8_OS_NACL || V8_OS_WIN |
+#if V8_OS_WIN |
return 0; |
#elif V8_OS_POSIX |
struct rlimit rlim; |