diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-09-28 19:14:16 (GMT) |
---|---|---|
committer | Jocelyn Turcotte <jocelyn.turcotte@nokia.com> | 2009-09-29 10:41:52 (GMT) |
commit | 8fe49324d8b58eb1c0945259da00905cca02822c (patch) | |
tree | 0d84736e2222e0d55041d3bf6ca339b00ea9ceaa | |
parent | 5e27598e241ddfef2f1ae1f19c4e1e90eb84992a (diff) | |
download | Qt-8fe49324d8b58eb1c0945259da00905cca02822c.zip Qt-8fe49324d8b58eb1c0945259da00905cca02822c.tar.gz Qt-8fe49324d8b58eb1c0945259da00905cca02822c.tar.bz2 |
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 <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
-rw-r--r-- | src/3rdparty/webkit/JavaScriptCore/jit/ExecutableAllocator.h | 5 |
1 files changed, 0 insertions, 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<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) { |