summaryrefslogtreecommitdiff
path: root/rhbz-1354671.patch
blob: 0e22dab3fc4a8b18426b60b285aff696da6922da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up firefox-65.0/layout/base/nsIPresShell.h.1354671 firefox-65.0/layout/base/nsIPresShell.h
--- firefox-65.0/layout/base/nsIPresShell.h.1354671	2019-01-29 11:50:08.516649643 +0100
+++ firefox-65.0/layout/base/nsIPresShell.h	2019-01-29 11:51:48.930258629 +0100
@@ -205,7 +205,7 @@ class nsIPresShell : public nsStubDocume
    * to the same aSize value.  AllocateFrame is infallible and will abort
    * on out-of-memory.
    */
-  void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
+  void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
     void* result = mFrameArena.AllocateByFrameID(aID, aSize);
     RecordAlloc(result);
     return result;
bgstack15