Changeset 48824 in webkit


Ignore:
Timestamp:
Sep 28, 2009 11:57:31 AM (15 years ago)
Author:
Simon Hausmann
Message:

Remove clear_cache which is an internal function of GCC
https://bugs.webkit.org/show_bug.cgi?id=28886

Patch by Gabor Loki <loki@inf.u-szeged.hu> on 2009-09-28
Reviewed by Simon Hausmann.

Although clear_cache is exported from GCC, this is an internal
function. GCC makes no promises about it.

  • jit/ExecutableAllocator.h:

(JSC::ExecutableAllocator::cacheFlush):

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r48819 r48824  
     12009-09-28  Gabor Loki  <loki@inf.u-szeged.hu>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        Remove __clear_cache which is an internal function of GCC
     6        https://bugs.webkit.org/show_bug.cgi?id=28886
     7
     8        Although __clear_cache is exported from GCC, this is an internal
     9        function. GCC makes no promises about it.
     10
     11        * jit/ExecutableAllocator.h:
     12        (JSC::ExecutableAllocator::cacheFlush):
     13
    1142009-09-28  Sam Weinig  <sam@webkit.org>
    215
  • trunk/JavaScriptCore/jit/ExecutableAllocator.h

    r48702 r48824  
    192192        User::IMB_Range(code, static_cast<char*>(code) + size);
    193193    }
    194 #elif PLATFORM(ARM) && COMPILER(GCC) && (GCC_VERSION >= 30406) && !defined(DISABLE_BUILTIN_CLEAR_CACHE)
    195     static void cacheFlush(void* code, size_t size)
    196     {
    197         __clear_cache(reinterpret_cast<char*>(code), reinterpret_cast<char*>(code) + size);
    198     }
    199194#elif PLATFORM(ARM_TRADITIONAL) && PLATFORM(LINUX)
    200195    static void cacheFlush(void* code, size_t size)
Note: See TracChangeset for help on using the changeset viewer.