Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e9f59c8ee6e5cd7acf94b218b6e7ce93d6530a5a
      
https://github.com/WebKit/WebKit/commit/e9f59c8ee6e5cd7acf94b218b6e7ce93d6530a5a
  Author: Andrew Fryer <[email protected]>
  Date:   2026-05-13 (Wed, 13 May 2026)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CodeBlock.cpp
    M Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h

  Log Message:
  -----------
  Disallow quick tier up recovery for builtins
https://bugs.webkit.org/show_bug.cgi?id=314563
rdar://176411718

Reviewed by Yusuke Suzuki and Keith Miller.

In 309230@main, we allowed tier up to recover. Since js builtins are
used across many workloads, we already don't save their value profiles
to UnlinkedCodeBlock. Now, don't allow quick tier up to recover for js
builtins. Also, change m_quickFTLTierUp from bool to TriState so that we
can prevent recovery for FTL.

No new behaviour.
* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::didInstallDFGCode):
(JSC::CodeBlock::didInstallFTLCode):
(JSC::CodeBlock::didFTLJettison):
(JSC::CodeBlock::didFailFTLCompilation):
* Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedCodeBlock::hasQuickFTLTierUpUpdated const):
(JSC::UnlinkedCodeBlock::isQuickFTLTierUp const):
(JSC::UnlinkedCodeBlock::setQuickFTLTierUp):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to