From 998fe28408429814fa0cd69195d02192f88790f6 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 20 Jan 2017 10:42:53 +0100 Subject: Bootstrap build fix Avoid the cache flushing code, it's of no use and won't compile due to the use of inline assembly. Change-Id: I1542b48f53f9210943bcf1f7cc5cc03f4abca695 Reviewed-by: Lars Knoll --- src/3rdparty/masm/assembler/ARMv7Assembler.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/3rdparty') diff --git a/src/3rdparty/masm/assembler/ARMv7Assembler.h b/src/3rdparty/masm/assembler/ARMv7Assembler.h index f0fa07a1bf..ba7517a750 100644 --- a/src/3rdparty/masm/assembler/ARMv7Assembler.h +++ b/src/3rdparty/masm/assembler/ARMv7Assembler.h @@ -2264,7 +2264,7 @@ public: unsigned debugOffset() { return m_formatter.debugOffset(); } -#if OS(LINUX) +#if OS(LINUX) && !defined(V4_BOOTSTRAP) static inline void linuxPageFlush(uintptr_t begin, uintptr_t end) { asm volatile( @@ -2284,7 +2284,10 @@ public: static void cacheFlush(void* code, size_t size) { -#if OS(IOS) +#if defined(V4_BOOTSTRAP) + UNUSED_PARAM(code) + UNUSED_PARAM(size) +#elif OS(IOS) sys_cache_control(kCacheFunctionPrepareForExecution, code, size); #elif OS(LINUX) size_t page = pageSize(); -- cgit v1.2.3