[webkit-changes] [WebKit/WebKit] bf1f3d: [JSC] Clean up IC a bit

Yusuke Suzuki noreply at github.com
Mon May 20 10:45:29 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bf1f3dd1a52cb6ebe113ba3291f6e69c107125cd
      https://github.com/WebKit/WebKit/commit/bf1f3dd1a52cb6ebe113ba3291f6e69c107125cd
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-05-20 (Mon, 20 May 2024)

  Changed paths:
    M Source/JavaScriptCore/bytecode/CallLinkInfo.h
    M Source/JavaScriptCore/bytecode/CodeBlock.cpp
    M Source/JavaScriptCore/bytecode/CodeBlock.h
    M Source/JavaScriptCore/bytecode/InlineCacheCompiler.cpp
    M Source/JavaScriptCore/bytecode/InlineCacheCompiler.h
    M Source/JavaScriptCore/bytecode/SharedJITStubSet.h
    M Source/JavaScriptCore/bytecode/StructureStubInfo.cpp
    M Source/JavaScriptCore/jit/GCAwareJITStubRoutine.cpp
    M Source/JavaScriptCore/jit/GCAwareJITStubRoutine.h
    M Source/WTF/wtf/PrintStream.h

  Log Message:
  -----------
  [JSC] Clean up IC a bit
https://bugs.webkit.org/show_bug.cgi?id=274350
rdar://128329113

Reviewed by Keith Miller.

1. Remove unused CodeBlock::getCallLinkInfoForBytecodeIndex. We are using JITCode's mechanism for this instead.
2. Set appropriate inlineCapacity for Vector<RefPtr<AccessCase>>.
3. Use Vector<Ref<AccessCase>> instead of Vector<RefPtr<AccessCase>>.

* Source/JavaScriptCore/bytecode/CodeBlock.cpp:
(JSC::CodeBlock::getCallLinkInfoForBytecodeIndex): Deleted.
* Source/JavaScriptCore/bytecode/CodeBlock.h:
* Source/JavaScriptCore/bytecode/InlineCacheCompiler.h:

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