summaryrefslogtreecommitdiffstats
path: root/js/src/jit/MacroAssembler.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-08-30 12:26:26 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-08-30 12:33:56 +0200
commit73b202b1e5688c0cff883873950f0261c50018e7 (patch)
treeaf3bc9bfce8c1d47a96ba274d09b5224d6c1567e /js/src/jit/MacroAssembler.cpp
parent21042963de0513abbb74a57733e703a15df6111b (diff)
downloadUXP-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.cpp6
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