Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d83eec0dc20341cd464d355958c23123e747a552
      
https://github.com/WebKit/WebKit/commit/d83eec0dc20341cd464d355958c23123e747a552
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGOSRExitCompilerCommon.cpp

  Log Message:
  -----------
  [JSC] OSR exit ramp should care about LLInt CodeBlock
https://bugs.webkit.org/show_bug.cgi?id=291219
rdar://148665857

Reviewed by Keith Miller and Justin Michaud.

OSR exit may happen against LLInt CodeBlock. In old days, we were always
compiling Baseline JIT CodeBlock for OSR exit. But now LLInt CodeBlock
can accept OSR exit ramp too. Thus it may not have BaselineJITData when
exiting. (It may have it later when the same CodeBlock gets Baseline
JIT). We should do nullptr check against BaselineJITData in the
CodeBlock. Not updating this number is fine since this is executable
counter for Baseline JIT code. We will update it when this underlying
CodeBlock gets Baseline JIT.

* Source/JavaScriptCore/dfg/DFGOSRExitCompilerCommon.cpp:
(JSC::DFG::handleExitCounts):

Canonical link: https://commits.webkit.org/293383@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