$OpenBSD: patch-Source_JavaScriptCore_assembler_ARMAssembler_h,v 1.4 2018/09/04 07:12:47 ajacoutot Exp $

Index: Source/JavaScriptCore/assembler/ARMAssembler.h
--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig
+++ Source/JavaScriptCore/assembler/ARMAssembler.h
@@ -1201,6 +1201,8 @@ namespace JSC {
                 linuxPageFlush(current, current + page);
 
             linuxPageFlush(current, end);
+#elif CPU(ARM_TRADITIONAL) && (OS(FREEBSD) || OS(OPENBSD))
+	__clear_cache(code, reinterpret_cast<char*>(code) + size);
 #else
 #error "The cacheFlush support is missing on this platform."
 #endif
