Title: [251909] trunk/Source/_javascript_Core
Revision
251909
Author
tzaga...@apple.com
Date
2019-10-31 22:01:40 -0700 (Thu, 31 Oct 2019)

Log Message

gcSafeMemmove references undefined slowPathBackwardsMemmove on non-gcc compatible compilers
https://bugs.webkit.org/show_bug.cgi?id=203721

Reviewed by Fujii Hironori.

* heap/GCMemoryOperations.h:
(JSC::gcSafeMemmove):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (251908 => 251909)


--- trunk/Source/_javascript_Core/ChangeLog	2019-11-01 04:41:37 UTC (rev 251908)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-11-01 05:01:40 UTC (rev 251909)
@@ -1,5 +1,15 @@
 2019-10-31  Tadeu Zagallo  <tzaga...@apple.com>
 
+        gcSafeMemmove references undefined slowPathBackwardsMemmove on non-gcc compatible compilers
+        https://bugs.webkit.org/show_bug.cgi?id=203721
+
+        Reviewed by Fujii Hironori.
+
+        * heap/GCMemoryOperations.h:
+        (JSC::gcSafeMemmove):
+
+2019-10-31  Tadeu Zagallo  <tzaga...@apple.com>
+
         Fix build when WTF_CPU_NEEDS_ALIGNED_ACCESS=1 after r251886
         https://bugs.webkit.org/show_bug.cgi?id=203718
 

Modified: trunk/Source/_javascript_Core/heap/GCMemoryOperations.h (251908 => 251909)


--- trunk/Source/_javascript_Core/heap/GCMemoryOperations.h	2019-11-01 04:41:37 UTC (rev 251908)
+++ trunk/Source/_javascript_Core/heap/GCMemoryOperations.h	2019-11-01 05:01:40 UTC (rev 251909)
@@ -159,8 +159,6 @@
         return;
     }
 
-#if COMPILER(GCC_COMPATIBLE) 
-
     auto slowPathBackwardsMemmove = [&] {
         size_t count = bytes / 8;
         for (size_t i = count; i--; )
@@ -167,6 +165,8 @@
             bitwise_cast<volatile uint64_t*>(dst)[i] = bitwise_cast<volatile uint64_t*>(src)[i];
     };
 
+#if COMPILER(GCC_COMPATIBLE)
+
     if (bytes <= smallCutoff)
         slowPathBackwardsMemmove();
     else {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to