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/shared/IonAssemblerBuffer.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/shared/IonAssemblerBuffer.h')
-rw-r--r-- | js/src/jit/shared/IonAssemblerBuffer.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/js/src/jit/shared/IonAssemblerBuffer.h b/js/src/jit/shared/IonAssemblerBuffer.h index 3a6552696..cc20e26d2 100644 --- a/js/src/jit/shared/IonAssemblerBuffer.h +++ b/js/src/jit/shared/IonAssemblerBuffer.h @@ -181,10 +181,6 @@ class AssemblerBuffer protected: virtual Slice* newSlice(LifoAlloc& a) { - if (size() > MaxCodeBytesPerProcess - sizeof(Slice)) { - fail_oom(); - return nullptr; - } Slice* tmp = static_cast<Slice*>(a.alloc(sizeof(Slice))); if (!tmp) { fail_oom(); |