Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c9b58a9ae7970cc21a312890579f28b1e9e1d54
      
https://github.com/WebKit/WebKit/commit/1c9b58a9ae7970cc21a312890579f28b1e9e1d54
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-10-12 (Mon, 12 Oct 2026)

  Changed paths:
    A JSTests/stress/arguments-not-captured-by-other-binding.js
    M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

  Log Message:
  -----------
  [JSC] Don't capture arguments just because another binding is captured
https://bugs.webkit.org/show_bug.cgi?id=143072

Reviewed by Yusuke Suzuki.

Closing over a different name no longer puts the arguments object in
the activation. The scope slot remains when eval, the debugger, with,
an inner arrow, or a separate generator or async body can resolve the
binding.

* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::BytecodeGenerator):
* JSTests/stress/arguments-not-captured-by-other-binding.js: Added.

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



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

Reply via email to