[webkit-changes] [WebKit/WebKit] 347b11: [JSC] Do not use temp RegisterID when initializing...

Yusuke Suzuki noreply at github.com
Thu Mar 7 18:45:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 347b11e573c242a6e5843bb328ee4947a8ef7a30
      https://github.com/WebKit/WebKit/commit/347b11e573c242a6e5843bb328ee4947a8ef7a30
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp

  Log Message:
  -----------
  [JSC] Do not use temp RegisterID when initializing local FunctionDeclaration
https://bugs.webkit.org/show_bug.cgi?id=270665
rdar://124236096

Reviewed by Justin Michaud.

Let's avoid unnecessary mov. We can initialize local RegisterID directly for FunctionDeclaration.

* Source/JavaScriptCore/bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::generate):

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