Title: [250604] trunk/Source/_javascript_Core
Revision
250604
Author
[email protected]
Date
2019-10-02 06:51:11 -0700 (Wed, 02 Oct 2019)

Log Message

Gardening build fix: Hide store64/load64 functions from 32bit
https://bugs.webkit.org/show_bug.cgi?id=202453

Unreviewed.

Prior patch for bug 202250 breaks 32bit builds because functions
store64 and load64 do not exist. ifdef these functions away from 32bits since
they are not used in 32bit code path.

Patch by Paulo Matos <[email protected]> on 2019-10-02

* jit/AssemblyHelpers.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (250603 => 250604)


--- trunk/Source/_javascript_Core/ChangeLog	2019-10-02 11:47:10 UTC (rev 250603)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-10-02 13:51:11 UTC (rev 250604)
@@ -1,3 +1,16 @@
+2019-10-02  Paulo Matos  <[email protected]>
+
+        Gardening build fix: Hide store64/load64 functions from 32bit
+        https://bugs.webkit.org/show_bug.cgi?id=202453
+
+        Unreviewed.
+
+        Prior patch for bug 202250 breaks 32bit builds because functions
+        store64 and load64 do not exist. ifdef these functions away from 32bits since
+        they are not used in 32bit code path.
+
+        * jit/AssemblyHelpers.h:
+
 2019-10-01  Yusuke Suzuki  <[email protected]>
 
         Unreviewed, fix incorrect assertion

Modified: trunk/Source/_javascript_Core/jit/AssemblyHelpers.h (250603 => 250604)


--- trunk/Source/_javascript_Core/jit/AssemblyHelpers.h	2019-10-02 11:47:10 UTC (rev 250603)
+++ trunk/Source/_javascript_Core/jit/AssemblyHelpers.h	2019-10-02 13:51:11 UTC (rev 250604)
@@ -75,6 +75,7 @@
 #endif
     }
 
+#if USE(JSVALUE64)
     void store64FromReg(Reg src, Address dst)
     {
         if (src.isFPR())
@@ -82,7 +83,8 @@
         else
             store64(src.gpr(), dst);
     }
-
+#endif
+    
     void store32FromReg(Reg src, Address dst)
     {
         if (src.isFPR())
@@ -91,6 +93,7 @@
             store32(src.gpr(), dst);
     }
 
+#if USE(JSVALUE64)
     void load64ToReg(Address src, Reg dst)
     {
         if (dst.isFPR())
@@ -98,7 +101,8 @@
         else
             load64(src, dst.gpr());
     }
-
+#endif
+    
     void load32ToReg(Address src, Reg dst)
     {
         if (dst.isFPR())
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to