[webkit-changes] [WebKit/WebKit] 01ab6c: [JSC] Add missing includes from implementation fil...

Argyrios Kyrtzidis noreply at github.com
Tue Sep 27 10:43:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 01ab6c22fca22b62dd438e6db59977647e720989
      https://github.com/WebKit/WebKit/commit/01ab6c22fca22b62dd438e6db59977647e720989
  Author: Argyrios Kyrtzidis <kyrtzidis at apple.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

  Changed paths:
    M Source/JavaScriptCore/API/JSAPIGlobalObject.mm
    M Source/JavaScriptCore/API/JSContext.mm
    M Source/JavaScriptCore/API/JSObjectRef.cpp
    M Source/JavaScriptCore/API/JSScript.mm
    M Source/JavaScriptCore/API/JSScriptSourceProvider.mm
    M Source/JavaScriptCore/inspector/remote/cocoa/RemoteInspectorXPCConnection.mm
    M Source/JavaScriptCore/jit/RegisterSet.cpp

  Log Message:
  -----------
  [JSC] Add missing includes from implementation files that need them in order to compile on their own
https://bugs.webkit.org/show_bug.cgi?id=242757

Reviewed by Justin Michaud.

Due to unified sources bundling there are implicit dependencies between implementation files and if
the files get compiled on their own it leads to compiler or linker errors, due to missing includes.

Add those missing includes so they can compile on their own, which is beneficial even for the unified build
because adding/removing files changes the unified source partitions and can expose these errors later on.

* Source/JavaScriptCore/API/JSAPIGlobalObject.mm:
* Source/JavaScriptCore/API/JSContext.mm:
* Source/JavaScriptCore/API/JSObjectRef.cpp:
* Source/JavaScriptCore/API/JSScript.mm:
* Source/JavaScriptCore/API/JSScriptSourceProvider.mm:
* Source/JavaScriptCore/inspector/remote/cocoa/RemoteInspectorXPCConnection.mm:
* Source/JavaScriptCore/jit/RegisterSet.cpp:
* Source/JavaScriptCore/wasm/js/WasmToJS.cpp:

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




More information about the webkit-changes mailing list