Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9f770b1bd5958779d19eec644e05c3c183103e0d
      
https://github.com/WebKit/WebKit/commit/9f770b1bd5958779d19eec644e05c3c183103e0d
  Author: Vassili Bykov <[email protected]>
  Date:   2026-08-14 (Fri, 14 Aug 2026)

  Changed paths:
    M Source/JavaScriptCore/parser/Parser.h

  Log Message:
  -----------
  [JSC] Add a fast path to Parser::useVariable
https://bugs.webkit.org/show_bug.cgi?id=321716
rdar://184855343

Reviewed by Yijia Huang.

Parser::useVariable adds a variable to the top set of the m_usedVariables stack.
It's not uncommon for the same variable to be added repeatedly, so it helps
to remember the last added variable and skip the extra work if it gets added 
again.

Covered by existing tests.

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



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

Reply via email to