summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/javascriptcore
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-09-28 19:14:16 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-09-28 19:14:16 (GMT)
commite20c832098d98076a0f988ce01b53586e370d272 (patch)
tree4fca4f4529f344b6db59090cd3035505a7902cf0 /src/3rdparty/javascriptcore
parent398a5ccbc7067c29d7ca7502c21f6c88cd3f98e5 (diff)
downloadQt-e20c832098d98076a0f988ce01b53586e370d272.zip
Qt-e20c832098d98076a0f988ce01b53586e370d272.tar.gz
Qt-e20c832098d98076a0f988ce01b53586e370d272.tar.bz2
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 <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): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48824 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Diffstat (limited to 'src/3rdparty/javascriptcore')
-rw-r--r--src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h b/src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h
index 12e2a32..3274fcc 100644
--- a/src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/jit/ExecutableAllocator.h
@@ -191,11 +191,6 @@ public:
{
User::IMB_Range(code, static_cast<char*>(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<char*>(code), reinterpret_cast<char*>(code) + size);
- }
#elif PLATFORM(ARM_TRADITIONAL) && PLATFORM(LINUX)
static void cacheFlush(void* code, size_t size)
{