зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1442583 - Properly initialize ARM64 icache flushing machinery. r=sstangl
--HG-- extra : rebase_source : 73b5921da1fa0a19d6072e35d09bd7b528bb6bfc extra : intermediate-source : 19516efbbf6750ba04e11c7099586d5be2fe818f extra : source : 4316cc82d6302edf839a4af6fcb815f0ffa9f65c
This commit is contained in:
Родитель
fc25eb4380
Коммит
7371a080ac
|
@ -20,6 +20,9 @@
|
|||
#include "jsutil.h"
|
||||
|
||||
#include "gc/Memory.h"
|
||||
#ifdef JS_CODEGEN_ARM64
|
||||
# include "jit/arm64/vixl/Cpu-vixl.h"
|
||||
#endif
|
||||
#include "threading/LockGuard.h"
|
||||
#include "threading/Mutex.h"
|
||||
#include "util/Windows.h"
|
||||
|
@ -621,6 +624,10 @@ js::jit::DeallocateExecutableMemory(void* addr, size_t bytes)
|
|||
bool
|
||||
js::jit::InitProcessExecutableMemory()
|
||||
{
|
||||
#ifdef JS_CODEGEN_ARM64
|
||||
// Initialize instruction cache flushing.
|
||||
vixl::CPU::SetUp();
|
||||
#endif
|
||||
return execMemory.init();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче