Index: src/d8.cc |
diff --git a/src/d8.cc b/src/d8.cc |
index ffc58e6478377f592210946e292b1a72d9337dfe..198d5b7981c935d60fc57b372c87717454cfcf50 100644 |
--- a/src/d8.cc |
+++ b/src/d8.cc |
@@ -1478,7 +1478,7 @@ int Shell::Main(int argc, char* argv[]) { |
v8::ResourceConstraints constraints; |
constraints.ConfigureDefaults(i::OS::TotalPhysicalMemory(), |
i::OS::MaxVirtualMemory(), |
- i::CPU::NumberOfProcessorsOnline()); |
+ i::OS::NumberOfProcessorsOnline()); |
v8::SetResourceConstraints(isolate, &constraints); |
#endif |
DumbLineEditor dumb_line_editor(isolate); |