JavaScriptCore:
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2009 07:17:39 +0000 (07:17 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2009 07:17:39 +0000 (07:17 +0000)
2009-03-05  Simone Fiorentino  <simone.fiorentino@consulenti.fastweb.it>

        Bug 24382: request to add SH4 platform

        <https://bugs.webkit.org/show_bug.cgi?id=24382>

        Reviewed by David Kilzer.

        * wtf/Platform.h: Added support for SH4 platform.

WebCore:

2009-03-05  Simone Fiorentino  <simone.fiorentino@consulenti.fastweb.it>

        Bug 24382: request to add SH4 platform

        <https://bugs.webkit.org/show_bug.cgi?id=24382>

        Reviewed by David Kilzer.

        * platform/text/AtomicString.cpp:
        (WebCore::equal): Aligned memory access on SH4 platform.

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

JavaScriptCore/ChangeLog
JavaScriptCore/wtf/Platform.h
WebCore/ChangeLog
WebCore/platform/text/AtomicString.cpp

index 3d7bbe3c15fc6d31977dbb12bd6f085c017ac9c0..4e4cd3503e9f33b1cc984888ac6530f9368a5dd9 100644 (file)
@@ -1,3 +1,13 @@
+2009-03-05  Simone Fiorentino  <simone.fiorentino@consulenti.fastweb.it>
+
+        Bug 24382: request to add SH4 platform
+
+        <https://bugs.webkit.org/show_bug.cgi?id=24382>
+
+        Reviewed by David Kilzer.
+
+        * wtf/Platform.h: Added support for SH4 platform.
+
 2009-03-05  Gavin Barraclough  <barraclough@apple.com>
 
         Reviewed by Oliver Hunt.
index 01bce7d25b06021052865f8d3b7bcad71ad3d587..ea5d18436e79bf88f73fa51ed37b9209acdeddb5 100644 (file)
 #define WTF_PLATFORM_X86_64 1
 #endif
 
+/* PLATFORM(SH4) */
+#if defined(__SH4__)
+#define WTF_PLATFORM_SH4 1
+#endif
+
 /* PLATFORM(SPARC64) */
 #if defined(__sparc64__)
 #define WTF_PLATFORM_SPARC64 1
index 2a57b4fb55992fcff74a5a7184d680c00c098b68..c83176d20d1ab2fcc793baefee5a64a74df8fa42 100644 (file)
@@ -1,3 +1,14 @@
+2009-03-05  Simone Fiorentino  <simone.fiorentino@consulenti.fastweb.it>
+
+        Bug 24382: request to add SH4 platform
+
+        <https://bugs.webkit.org/show_bug.cgi?id=24382>
+
+        Reviewed by David Kilzer.
+
+        * platform/text/AtomicString.cpp:
+        (WebCore::equal): Aligned memory access on SH4 platform.
+
 2009-03-05  Jeremy Moskovich  <jeremy@chromium.org>
 
         Reviewed by Simon Fraser.
index 5f9abfd9a489b71faf0e795d9046a1f05c81ef71..d85f5ee4e9435c5d5cf19853f98096d4f73f1449 100644 (file)
@@ -101,7 +101,7 @@ static inline bool equal(StringImpl* string, const UChar* characters, unsigned l
     if (string->length() != length)
         return false;
 
-#if PLATFORM(ARM)
+#if PLATFORM(ARM) || PLATFORM(SH4)
     const UChar* stringCharacters = string->characters();
     for (unsigned i = 0; i != length; ++i) {
         if (*stringCharacters++ != *characters++)