Bug 1215479 - Turn on W^X JIT code by default. r=luke
authorJan de Mooij <jdemooij@mozilla.com>
Mon, 28 Dec 2015 21:05:50 +0100
changeset 277724 a0dbf1fe665f1cb98e1c9490e30af443f3618f3f
parent 277723 bdade94c0fd079f0b0f21566b892455bb0161f8e
child 277725 f8009a756cd0257a7ce978ebf5d63071ca70affc
push id29832
push usercbook@mozilla.com
push dateTue, 29 Dec 2015 10:55:58 +0000
treeherdermozilla-central@9ddf0da90fb3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersluke
bugs1215479
milestone46.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1215479 - Turn on W^X JIT code by default. r=luke
js/src/jit/ExecutableAllocator.cpp
--- a/js/src/jit/ExecutableAllocator.cpp
+++ b/js/src/jit/ExecutableAllocator.cpp
@@ -403,13 +403,9 @@ ExecutableAllocator::poisonCode(JSRuntim
         if (pool->isMarked()) {
             reprotectPool(rt, pool, Executable);
             pool->unmark();
         }
         pool->release();
     }
 }
 
-#if TARGET_OS_IPHONE
 bool ExecutableAllocator::nonWritableJitCode = true;
-#else
-bool ExecutableAllocator::nonWritableJitCode = false;
-#endif