[webkit-changes] [WebKit/WebKit] f953a3: JavaScriptCore: m_linkBuffer should be initialized...

Rose noreply at github.com
Fri Mar 24 11:06:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f953a3491357343e2784b672e31b779d15ca3be8
      https://github.com/WebKit/WebKit/commit/f953a3491357343e2784b672e31b779d15ca3be8
  Author: Rose <83477269+AtariDreams at users.noreply.github.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M Source/JavaScriptCore/jit/JIT.cpp

  Log Message:
  -----------
  JavaScriptCore: m_linkBuffer should be initialized via WTF::makeUnique
https://bugs.webkit.org/show_bug.cgi?id=253156

Reviewed by Chris Dumez.

m_linkBuffer can be fast-allocated, so let's do this via WTF::makeUnique.

* Source/JavaScriptCore/jit/JIT.cpp:(JIT::compileAndLinkWithoutFinalizing):
  Use WTF::MakeUnique to initialize m_linkBuffer.

Canonical link: https://commits.webkit.org/262084@main




More information about the webkit-changes mailing list