Gardening: build fix.
authormark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Aug 2019 18:16:52 +0000 (18:16 +0000)
committermark.lam@apple.com <mark.lam@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Aug 2019 18:16:52 +0000 (18:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=200149
<rdar://problem/53570112>

Not reviewed.

* assembler/CPU.cpp:
(JSC::hwPhysicalCPUMax):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/CPU.cpp

index acb0210..e35d7a1 100644 (file)
@@ -1,3 +1,14 @@
+2019-08-02  Mark Lam  <mark.lam@apple.com>
+
+        Gardening: build fix.
+        https://bugs.webkit.org/show_bug.cgi?id=200149
+        <rdar://problem/53570112>
+
+        Not reviewed.
+
+        * assembler/CPU.cpp:
+        (JSC::hwPhysicalCPUMax):
+
 2019-08-01  Yusuke Suzuki  <ysuzuki@apple.com>
 
         GetterSetter type confusion during DFG compilation
index 32ae208..968ca65 100644 (file)
@@ -79,7 +79,7 @@ int64_t hwL3CacheSize()
 
 int32_t hwPhysicalCPUMax()
 {
-    int64_t val = 0;
+    int32_t val = 0;
     size_t valSize = sizeof(val);
     int rc = sysctlbyname("hw.physicalcpu_max", &val, &valSize, nullptr, 0);
     if (rc < 0)