[webkit-changes] [WebKit/WebKit] c7da26: [WebIDL] Cache extended attributes of WebIDL file

Diego Pino noreply at github.com
Mon Oct 17 04:58:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7da26fb5135a2b9863bab32fda8ede1980183fe
      https://github.com/WebKit/WebKit/commit/c7da26fb5135a2b9863bab32fda8ede1980183fe
  Author: Diego Pino Garcia <dpino at igalia.com>
  Date:   2022-10-17 (Mon, 17 Oct 2022)

  Changed paths:
    M Source/WebCore/bindings/scripts/CodeGenerator.pm

  Log Message:
  -----------
  [WebIDL] Cache extended attributes of WebIDL file
https://bugs.webkit.org/show_bug.cgi?id=241960

Reviewed by Darin Adler.

* Source/WebCore/bindings/scripts/CodeGenerator.pm:

(GetInterfaceExtendedAttributesFromName): Store results into a cache
indexeded by IDL filename, so we don't need to parse the same file
again.
(ComputeIsCallbackInterface): Use slurp function to read file contents.
(ComputeIsCallbackFunction): Use slurp function to read file contents.

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




More information about the webkit-changes mailing list