[webkit-changes] [WebKit/WebKit] b2518c: Error: redefinition of 'gigacageEnabledForProcess'...

bnham noreply at github.com
Mon Sep 19 21:04:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b2518c25355d2196ed1335a289ec76258f3796cf
      https://github.com/WebKit/WebKit/commit/b2518c25355d2196ed1335a289ec76258f3796cf
  Author: Ben Nham <nham at apple.com>
  Date:   2022-09-19 (Mon, 19 Sep 2022)

  Changed paths:
    M Source/bmalloc/bmalloc/ProcessCheck.mm

  Log Message:
  -----------
  Error: redefinition of 'gigacageEnabledForProcess' in JSCOnly MacOS Ports
https://bugs.webkit.org/show_bug.cgi?id=245295
rdar://problem/100133724

Reviewed by Mark Lam.

The BPLATFORM guard around `gigacageEnabledForProcess()` in ProcessCheck.h does not match the guard
in ProcessCheck.mm. This breaks the JSCOnly variant of the bmalloc build on Darwin since the JSCOnly
variant doesn't define a BPLATFORM macro.

Fix this by making the guards match.

* Source/bmalloc/bmalloc/ProcessCheck.mm:

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




More information about the webkit-changes mailing list