[SCM] WebKit Debian packaging branch, debian/experimental, updated. debian/1.3.8-1-1049-g2e11a8e

dbates at webkit.org dbates at webkit.org
Fri Jan 21 14:54:44 UTC 2011


The following commit has been merged in the debian/experimental branch:
commit 253581a2c06b0258e18829ae936cc2037b890378
Author: dbates at webkit.org <dbates at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Jan 4 17:44:12 2011 +0000

    2011-01-03  Daniel Bates  <dbates at rim.com>
    
            Reviewed by Darin Adler.
    
            Use __builtin_expect when compiling using RVCT in GNU mode
            https://bugs.webkit.org/show_bug.cgi?id=51866
    
            Derived from a patch by Dave Tapuska.
    
            * wtf/AlwaysInline.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74973 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index ee01857..e5d8a55 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,14 @@
+2011-01-03  Daniel Bates  <dbates at rim.com>
+
+        Reviewed by Darin Adler.
+
+        Use __builtin_expect when compiling using RVCT in GNU mode
+        https://bugs.webkit.org/show_bug.cgi?id=51866
+
+        Derived from a patch by Dave Tapuska.
+
+        * wtf/AlwaysInline.h:
+
 2011-01-03  Darin Adler  <darin at apple.com>
 
         Reviewed by Brady Eidson.
diff --git a/Source/JavaScriptCore/wtf/AlwaysInline.h b/Source/JavaScriptCore/wtf/AlwaysInline.h
index 34f8b74..29c35a8 100644
--- a/Source/JavaScriptCore/wtf/AlwaysInline.h
+++ b/Source/JavaScriptCore/wtf/AlwaysInline.h
@@ -41,7 +41,7 @@
 #endif
 
 #ifndef UNLIKELY
-#if COMPILER(GCC)
+#if defined(__GNUC__)
 #define UNLIKELY(x) __builtin_expect((x), 0)
 #else
 #define UNLIKELY(x) (x)
@@ -49,7 +49,7 @@
 #endif
 
 #ifndef LIKELY
-#if COMPILER(GCC)
+#if defined(__GNUC__)
 #define LIKELY(x) __builtin_expect((x), 1)
 #else
 #define LIKELY(x) (x)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list