Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b07dca9615f1d691b97fa6cf2a0915d2a5ae68e6
      
https://github.com/WebKit/WebKit/commit/b07dca9615f1d691b97fa6cf2a0915d2a5ae68e6
  Author: Vignesh Rao <[email protected]>
  Date:   2026-05-20 (Wed, 20 May 2026)

  Changed paths:
    M Source/JavaScriptCore/bytecode/GetByStatus.cpp
    M Source/JavaScriptCore/bytecode/GetByStatus.h
    M Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h
    M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
    M Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp
    M Source/JavaScriptCore/dfg/DFGNode.h

  Log Message:
  -----------
  [JSC] GetByStatus::computeFor should not walk proto chain for direct property 
access
https://bugs.webkit.org/show_bug.cgi?id=309519
rdar://171512268

Reviewed by Keith Miller.

When computing the GetByStatus, we should check if the property lookup is a
direct property access before doing a prototype walk since direct accesses are
not supposed to consult the prototype.

* Source/JavaScriptCore/bytecode/GetByStatus.cpp:
(JSC::GetByStatus::computeFor):
* Source/JavaScriptCore/bytecode/GetByStatus.h:
* Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::foldConstants):
* Source/JavaScriptCore/dfg/DFGNodeType.h:
(JSC::DFG::propertyLookupMode):

Originally-landed-as: 305413.572@rapid/safari-7624.2.5.110-branch 
(2f13ea25a5fe). rdar://176061387
Canonical link: https://commits.webkit.org/313636@main



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

Reply via email to