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/MacroAssembler.cpp | |
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/MacroAssembler.cpp')
-rw-r--r-- | js/src/jit/MacroAssembler.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/js/src/jit/MacroAssembler.cpp b/js/src/jit/MacroAssembler.cpp index 9dbbe7624..f633b9b7b 100644 --- a/js/src/jit/MacroAssembler.cpp +++ b/js/src/jit/MacroAssembler.cpp @@ -2214,12 +2214,6 @@ MacroAssembler::finish() } MacroAssemblerSpecific::finish(); - - MOZ_RELEASE_ASSERT(size() <= MaxCodeBytesPerProcess, - "AssemblerBuffer should ensure we don't exceed MaxCodeBytesPerProcess"); - - if (bytesNeeded() > MaxCodeBytesPerProcess) - setOOM(); } void |