diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:26:26 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-08-30 12:33:56 +0200 |
commit | 73b202b1e5688c0cff883873950f0261c50018e7 (patch) | |
tree | af3bc9bfce8c1d47a96ba274d09b5224d6c1567e /js/src/jit/ProcessExecutableMemory.h | |
parent | 21042963de0513abbb74a57733e703a15df6111b (diff) | |
download | UXP-73b202b1e5688c0cff883873950f0261c50018e7.tar UXP-73b202b1e5688c0cff883873950f0261c50018e7.tar.gz UXP-73b202b1e5688c0cff883873950f0261c50018e7.tar.lz UXP-73b202b1e5688c0cff883873950f0261c50018e7.tar.xz UXP-73b202b1e5688c0cff883873950f0261c50018e7.zip |
Revert "Bug 1444668 - Avoid allocating large AssemblerBuffers. r=luke, r=bbouvier, a=RyanVM"
This reverts commit 9472136272f01b858412f2d9d7854d2daa82496f.
Diffstat (limited to 'js/src/jit/ProcessExecutableMemory.h')
-rw-r--r-- | js/src/jit/ProcessExecutableMemory.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/js/src/jit/ProcessExecutableMemory.h b/js/src/jit/ProcessExecutableMemory.h index a0e2fab98..078ce7cb7 100644 --- a/js/src/jit/ProcessExecutableMemory.h +++ b/js/src/jit/ProcessExecutableMemory.h @@ -17,14 +17,6 @@ namespace jit { // alignment though. static const size_t ExecutableCodePageSize = 64 * 1024; -// Limit on the number of bytes of executable memory to prevent JIT spraying -// attacks. -#if JS_BITS_PER_WORD == 32 -static const size_t MaxCodeBytesPerProcess = 128 * 1024 * 1024; -#else -static const size_t MaxCodeBytesPerProcess = 1 * 1024 * 1024 * 1024; -#endif - enum class ProtectionSetting { Protected, // Not readable, writable, or executable. Writable, |