svn commit: r395317 - head/lang/spidermonkey170/files

Koop Mast kwm at FreeBSD.org
Tue Aug 25 21:59:20 UTC 2015


Author: kwm
Date: Tue Aug 25 21:59:19 2015
New Revision: 395317
URL: https://svnweb.freebsd.org/changeset/ports/395317

Log:
  Fix the build on ARM by adapting a patch from spidermonkey24.
  
  PR:		202229
  Submitted by:	mikael.urankar at gmail.com

Added:
  head/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h   (contents, props changed)

Added: head/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/spidermonkey170/files/patch-assembler_jit_ExecutableAllocator.h	Tue Aug 25 21:59:19 2015	(r395317)
@@ -0,0 +1,14 @@
+--- assembler/jit/ExecutableAllocator.h.orig	2013-10-29 20:40:26 UTC
++++ assembler/jit/ExecutableAllocator.h
+@@ -477,6 +477,11 @@ public:
+     {
+         sync_instruction_memory((caddr_t)code, size);
+     }
++#elif CPU(ARM_TRADITIONAL) && OS(FREEBSD) && COMPILER(CLANG)
++    static void cacheFlush(void* code, size_t size)
++    {
++	__clear_cache(code, reinterpret_cast<char*>(code) + size);
++    }
+ #endif
+ 
+ private:


More information about the svn-ports-head mailing list