Comment out piece of code using __clear_cache() which FreeBSD
does not have. This is only used for JIT on ARM so it's harmless. Approved by: ed (mentor)
This commit is contained in:
parent
d994242647
commit
29b430e5da
@ -61,7 +61,7 @@ void llvm::sys::Memory::InvalidateInstructionCache(const void *Addr,
|
||||
for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize)
|
||||
asm volatile("icbi 0, %0" : : "r"(Line));
|
||||
asm volatile("isync");
|
||||
# elif defined(__arm__) && defined(__GNUC__)
|
||||
# elif defined(__arm__) && defined(__GNUC__) && !defined(__FreeBSD__)
|
||||
// FIXME: Can we safely always call this for __GNUC__ everywhere?
|
||||
char *Start = (char*) Addr;
|
||||
char *End = Start + Len;
|
||||
|
Loading…
Reference in New Issue
Block a user