[webkit-changes] [WebKit/WebKit] 87225a: [JSC] Use FixedVector / span directly instead of u...

Yusuke Suzuki noreply at github.com
Wed Sep 4 10:53:43 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 87225a402a926fd24015eeb9ab68b083496073a0
      https://github.com/WebKit/WebKit/commit/87225a402a926fd24015eeb9ab68b083496073a0
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CodeBlock.cpp
    M Source/JavaScriptCore/bytecode/CodeBlock.h
    M Source/JavaScriptCore/bytecode/CodeBlockInlines.h
    M Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h
    M Source/JavaScriptCore/profiler/ProfilerBytecodeSequence.cpp

  Log Message:
  -----------
  [JSC] Use FixedVector / span directly instead of unlinkedValueProfile etc.
https://bugs.webkit.org/show_bug.cgi?id=279118
rdar://135259552

Reviewed by Yijia Huang.

Let's just directly use FixedVector / span instead of unlinkedValueProfile etc. function.

* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::updateAllNonLazyValueProfilePredictionsAndCountLiveness):
(JSC::CodeBlock::updateAllArrayProfilePredictions):
* Source/JavaScriptCore/bytecode/CodeBlock.h:
(JSC::CodeBlock::argumentValueProfiles):
* Source/JavaScriptCore/bytecode/CodeBlockInlines.h:
(JSC::CodeBlock::forEachValueProfile):
* Source/JavaScriptCore/bytecode/UnlinkedCodeBlock.h:
(JSC::UnlinkedCodeBlock::unlinkedValueProfiles):
(JSC::UnlinkedCodeBlock::unlinkedArrayProfiles):
(JSC::UnlinkedCodeBlock::unlinkedValueProfile): Deleted.
(JSC::UnlinkedCodeBlock::unlinkedArrayProfile): Deleted.
* Source/JavaScriptCore/profiler/ProfilerBytecodeSequence.cpp:
(JSC::Profiler::BytecodeSequence::BytecodeSequence):

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



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


More information about the webkit-changes mailing list