Changeset 83557 in webkit


Ignore:
Timestamp:
Apr 11, 2011 10:40:06 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2011-04-11 Ben Taylor <bentaylor.solx86@gmail.com>

Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=58289

Fix compilation on Solaris/Studio 12 C++ in wtf/FastMalloc.cpp,
WTF::TCMalloc_PageHeap::runScavengerThread(void*) expected to return a value.

  • wtf/FastMalloc.cpp: (WTF::TCMalloc_PageHeap::runScavengerThread):
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r83529 r83557  
     12011-04-11  Ben Taylor  <bentaylor.solx86@gmail.com>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=58289
     6
     7        Fix compilation on Solaris/Studio 12 C++ in wtf/FastMalloc.cpp,
     8        WTF::TCMalloc_PageHeap::runScavengerThread(void*) expected to return a value.
     9
     10        * wtf/FastMalloc.cpp:
     11        (WTF::TCMalloc_PageHeap::runScavengerThread):
     12
    1132011-04-11  Mark Rowe  <mrowe@apple.com>
    214
  • trunk/Source/JavaScriptCore/wtf/FastMalloc.cpp

    r82905 r83557  
    16191619void* TCMalloc_PageHeap::runScavengerThread(void* context)
    16201620{
    1621   static_cast<TCMalloc_PageHeap*>(context)->scavengerThread();
    1622 #if COMPILER(MSVC)
    1623   // Without this, Visual Studio will complain that this method does not return a value.
    1624   return 0;
     1621    static_cast<TCMalloc_PageHeap*>(context)->scavengerThread();
     1622#if (COMPILER(MSVC) || COMPILER(SUNCC))
     1623    // Without this, Visual Studio and Sun Studio will complain that this method does not return a value.
     1624    return 0;
    16251625#endif
    16261626}
Note: See TracChangeset for help on using the changeset viewer.