Bug 226550

Summary: Fix build error with ENABLE_DFG_JIT=OFF
Product: WebKit Reporter: Pablo Saavedra <psaavedra>
Component: JavaScriptCoreAssignee: Pablo Saavedra <psaavedra>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, ews-watchlist, keith_miller, mark.lam, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Mac (Apple Silicon)   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Pablo Saavedra 2021-06-02 13:19:34 PDT
This patch fix the following build error with -DENABLE_JIT=ON -DENABLE_DFG_JIT=OFF:

```
/home/bot/yocto-rpi3-manual/builds/raspberrypi3-userland-wpe-nightly/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/wpewebkit/trunk+gitAUTOINC+558850c0c1-r0/git/Source/JavaScriptCore/jit/JITPlan.cpp:159:14: error: 'logCompilationChanges' is not a member of 'JSC::DFG'
  159 |     if (DFG::logCompilationChanges(m_mode) || Options::logPhaseTimes())
      |              ^~~~~~~~~~~~~~~~~~~~~
```
Comment 1 Pablo Saavedra 2021-06-02 13:24:18 PDT
Created attachment 430396 [details]
patch
Comment 2 Mark Lam 2021-06-02 14:09:52 PDT
Comment on attachment 430396 [details]
patch

r=me
Comment 3 EWS 2021-06-02 14:47:28 PDT
Committed r278375 (238402@main): <https://commits.webkit.org/238402@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430396 [details].
Comment 4 Radar WebKit Bug Importer 2021-06-02 14:48:20 PDT
<rdar://problem/78783882>