1 Star 0 Fork 55

Jingwiw/firefox

forked from src-openEuler/firefox 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
rhbz-1354671.patch 726 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jingwiw 提交于 2022-09-24 14:10 +08:00 . update to 107
diff --git a/layout/base/PresShell.h b/layout/base/PresShell.h
index f84d60b693..fcb4b45eec 100644
--- a/layout/base/PresShell.h
+++ b/layout/base/PresShell.h
@@ -257,7 +257,7 @@ class PresShell final : public nsStubDocumentObserver,
* 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) {
#define FRAME_ID(classname, ...) \
static_assert(size_t(nsQueryFrame::FrameIID::classname##_id) == \
size_t(eArenaObjectID_##classname), \
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Jingwiw/firefox.git
git@gitee.com:Jingwiw/firefox.git
Jingwiw
firefox
firefox
master

搜索帮助