517bf9
diff -up firefox-70.0/layout/base/PresShell.h.1354671 firefox-70.0/layout/base/PresShell.h
517bf9
--- firefox-70.0/layout/base/PresShell.h.1354671	2019-10-22 12:33:12.987775587 +0200
517bf9
+++ firefox-70.0/layout/base/PresShell.h	2019-10-22 12:36:39.999366086 +0200
517bf9
@@ -257,7 +257,7 @@ class PresShell final : public nsStubDoc
517bf9
    * to the same aSize value.  AllocateFrame is infallible and will abort
517bf9
    * on out-of-memory.
517bf9
    */
517bf9
-  void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
517bf9
+  void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
517bf9
 #define FRAME_ID(classname, ...)                                  \
517bf9
   static_assert(size_t(nsQueryFrame::FrameIID::classname##_id) == \
517bf9
                     size_t(eArenaObjectID_##classname),           \