2019-01-30 10:41:01 +00:00
|
|
|
diff -up firefox-60.5.0/layout/base/nsIPresShell.h.1354671 firefox-60.5.0/layout/base/nsIPresShell.h
|
|
|
|
--- firefox-60.5.0/layout/base/nsIPresShell.h.1354671 2019-01-22 16:08:40.796539950 +0100
|
|
|
|
+++ firefox-60.5.0/layout/base/nsIPresShell.h 2019-01-22 16:10:25.106069228 +0100
|
|
|
|
@@ -204,7 +204,7 @@ class nsIPresShell : public nsStubDocume
|
2018-08-28 11:47:57 +00:00
|
|
|
* to the same aSize value. AllocateFrame is infallible and will abort
|
|
|
|
* on out-of-memory.
|
|
|
|
*/
|
2019-01-30 10:41:01 +00:00
|
|
|
- void* AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
|
|
|
|
+ void* __attribute__((optimize("no-lifetime-dse"))) AllocateFrame(nsQueryFrame::FrameIID aID, size_t aSize) {
|
2018-08-28 11:47:57 +00:00
|
|
|
void* result = mFrameArena.AllocateByFrameID(aID, aSize);
|
|
|
|
RecordAlloc(result);
|
2019-01-30 10:41:01 +00:00
|
|
|
return result;
|