From 8fe49324d8b58eb1c0945259da00905cca02822c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 28 Sep 2009 21:14:16 +0200 Subject: Re-apply change e20c832098d98076a0f988ce01b53586e370d272 by Simon Hausmann Fix Freemantle build of JSC/WebKit. Remove __clear_cache which is an internal function of GCC https://bugs.webkit.org/show_bug.cgi?id=28886 Patch by Gabor Loki 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): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48824 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- src/3rdparty/webkit/JavaScriptCore/jit/ExecutableAllocator.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/3rdparty/webkit/JavaScriptCore/jit/ExecutableAllocator.h b/src/3rdparty/webkit/JavaScriptCore/jit/ExecutableAllocator.h index 12e2a32..3274fcc 100644 --- a/src/3rdparty/webkit/JavaScriptCore/jit/ExecutableAllocator.h +++ b/src/3rdparty/webkit/JavaScriptCore/jit/ExecutableAllocator.h @@ -191,11 +191,6 @@ public: { User::IMB_Range(code, static_cast(code) + size); } -#elif PLATFORM(ARM) && COMPILER(GCC) && (GCC_VERSION >= 30406) && !defined(DISABLE_BUILTIN_CLEAR_CACHE) - static void cacheFlush(void* code, size_t size) - { - __clear_cache(reinterpret_cast(code), reinterpret_cast(code) + size); - } #elif PLATFORM(ARM_TRADITIONAL) && PLATFORM(LINUX) static void cacheFlush(void* code, size_t size) { -- cgit v0.12