bug 977805 - add missing #include. r=jandem

This commit is contained in:
Ted Mielczarek 2015-06-12 15:51:47 -04:00
parent dec2e7118d
commit e3523a91ec

View File

@ -29,6 +29,10 @@
#include "js/MemoryMetrics.h"
#ifdef __APPLE__
#include <TargetConditionals.h>
#endif
using namespace js::jit;
size_t ExecutableAllocator::pageSize = 0;
@ -62,7 +66,7 @@ ExecutableAllocator::addSizeOfCode(JS::CodeSizes* sizes) const
}
}
#ifdef TARGET_OS_IPHONE
#if TARGET_OS_IPHONE
bool ExecutableAllocator::nonWritableJitCode = true;
#else
bool ExecutableAllocator::nonWritableJitCode = false;