Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1c84cd6c970271eabe238a7e4eff9adced5614ce
      
https://github.com/WebKit/WebKit/commit/1c84cd6c970271eabe238a7e4eff9adced5614ce
  Author: Yusuke Suzuki <[email protected]>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    A JSTests/stress/for-in-has-own-property-complex.js
    M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp
    M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h
    M Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp
    M Source/JavaScriptCore/parser/Nodes.h

  Log Message:
  -----------
  [JSC] Enhance enumerator_has_own_property pattern detection
https://bugs.webkit.org/show_bug.cgi?id=269834
rdar://123362273

Reviewed by Keith Miller and Justin Michaud.

This patch extends enumerator_has_own_property pattern matching detection more, 
aligned to relatively newer JS minifier behavior.

* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::tryResolveVariable):
* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:
* Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:
(JSC::ForInNode::emitBytecode):
* Source/JavaScriptCore/parser/Nodes.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to