<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>91939</bug_id>
          
          <creation_ts>2012-07-22 01:38:39 -0700</creation_ts>
          <short_desc>[CMake] Add option for ENABLE_DFG_JIT</short_desc>
          <delta_ts>2012-07-23 06:44:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>91953</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Patrick R. Gansterer">paroga</reporter>
          <assigned_to name="Patrick R. Gansterer">paroga</assigned_to>
          <cc>dbates</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>rakuco</cc>
    
    <cc>rwlbuis</cc>
    
    <cc>ryuan.choi</cc>
    
    <cc>tonikitoo</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>yong.li.webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>675296</commentid>
    <comment_count>0</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2012-07-22 01:38:39 -0700</bug_when>
    <thetext>[CMake] Add option for ENABLE_DFG_JIT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675297</commentid>
    <comment_count>1</comment_count>
      <attachid>153689</attachid>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2012-07-22 01:41:28 -0700</bug_when>
    <thetext>Created attachment 153689
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675319</commentid>
    <comment_count>2</comment_count>
      <attachid>153689</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-07-22 09:36:43 -0700</bug_when>
    <thetext>Comment on attachment 153689
Patch

Clearing flags on attachment: 153689

Committed r123298: &lt;http://trac.webkit.org/changeset/123298&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675320</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-07-22 09:36:48 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675378</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-07-22 18:03:46 -0700</bug_when>
    <thetext>Re-opened since this is blocked by 91953</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675474</commentid>
    <comment_count>5</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2012-07-22 23:53:00 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; [...]
&gt; Committed r123298: &lt;http://trac.webkit.org/changeset/123298&gt;

This patch broke the Windows CE Release build:

&lt;http://build.webkit.org/builders/WinCE%20Release%20%28Build%29/builds/26012/steps/compile-webkit/logs/stdio&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675475</commentid>
    <comment_count>6</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2012-07-22 23:54:20 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #2)
&gt; &gt; [...]
&gt; &gt; Committed r123298: &lt;http://trac.webkit.org/changeset/123298&gt;
&gt; 
&gt; This patch broke the Windows CE Release build:
&gt; 
&gt; &lt;http://build.webkit.org/builders/WinCE%20Release%20%28Build%29/builds/26012/steps/compile-webkit/logs/stdio&gt;

I committed an attempt to fix the build in &lt;http://trac.webkit.org/changeset/123301&gt; (see remark (*)). This broke the EFL Linux 64-bit Debug build [1] because the CMake defined ENABLE_DFG_JIT prevents us from evaluating the logic for enabling the ENABLE_DFG_JIT in wtf/Platorm.h [2]. 

From talking with Ryuan Choi on IRC this evening, we thought it was best to rollout this patch &lt;http://trac.webkit.org/changeset/123303&gt; (bug #91953) so that the intricacies between CMake and wtf/Platform.h can be worked out offline. It may also be beneficial to elaborate on the use case for exposing this option in CMake.

(*) I chose to disable the DFG JIT (by default) because I was unclear of both the state of JIT support in the Windows CE port (can we enable it in OptionsWinCE.cmake? [3]) and whether consensus was reached among other CMake-based port maintainers to enable the DFG JIT by default.

[1] &lt;http://build.webkit.org/builders/EFL%20Linux%2064-bit%20Debug/builds/3131/steps/compile-webkit/logs/stdio&gt;
[2] &lt;http://trac.webkit.org/browser/trunk/Source/WTF/wtf/Platform.h?rev=123181#L897&gt;
[3] &lt;http://trac.webkit.org/browser/trunk/Source/cmake/OptionsWinCE.cmake?rev=119767#L25&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>675481</commentid>
    <comment_count>7</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2012-07-23 00:03:57 -0700</bug_when>
    <thetext>(In reply to comment #6)
&gt; (In reply to comment #5)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; [...]
&gt; &gt; &gt; Committed r123298: &lt;http://trac.webkit.org/changeset/123298&gt;
&gt; &gt; 
&gt; &gt; This patch broke the Windows CE Release build:
&gt; &gt; 
&gt; &gt; &lt;http://build.webkit.org/builders/WinCE%20Release%20%28Build%29/builds/26012/steps/compile-webkit/logs/stdio&gt;
&gt; 
&gt; I committed an attempt to fix the build in &lt;http://trac.webkit.org/changeset/123301&gt; (see remark (*)). This broke the EFL Linux 64-bit Debug build [1] because the CMake defined ENABLE_DFG_JIT prevents us from evaluating the logic for enabling the ENABLE_DFG_JIT in wtf/Platorm.h [2]. 
&gt; 
&gt; From talking with Ryuan Choi on IRC this evening, we thought it was best to rollout this patch &lt;http://trac.webkit.org/changeset/123303&gt; (bug #91953) so that the intricacies between CMake and wtf/Platform.h can be worked out offline. It may also be beneficial to elaborate on the use case for exposing this option in CMake.
&gt; 
&gt; (*) I chose to disable the DFG JIT (by default) because I was unclear of both the state of JIT support in the Windows CE port (can we enable it in OptionsWinCE.cmake? [3]) and whether consensus was reached among other CMake-based port maintainers to enable the DFG JIT by default.

I took the same on/off value as Platform.h declares. It&apos;s on for the EFL and Blackberry port all the time AFAICS. The build problem was caused, by the fact that ENABLE_DFG_JIT isn&apos;t guided with ENABLE_JIT to. Since we don&apos;t have any guideline when a CMake option is ok and when not I&apos;d like to add it again with the corresponding off value for WinCE.
(I hate doing so much &quot;feature detection&quot; in Platform.h)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>153689</attachid>
            <date>2012-07-22 01:41:28 -0700</date>
            <delta_ts>2012-07-22 09:36:43 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-91939.patch</filename>
            <type>text/plain</type>
            <size>1809</size>
            <attacher name="Patrick R. Gansterer">paroga</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0NoYW5nZUxvZyBiL0NoYW5nZUxvZwppbmRleCA4MTM3NTJmLi5kOWE1NDA2
IDEwMDY0NAotLS0gYS9DaGFuZ2VMb2cKKysrIGIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMgQEAK
KzIwMTItMDctMjIgIFBhdHJpY2sgR2Fuc3RlcmVyICA8cGFyb2dhQHdlYmtpdC5vcmc+CisKKyAg
ICAgICAgW0NNYWtlXSBBZGQgb3B0aW9uIGZvciBFTkFCTEVfREZHX0pJVAorICAgICAgICBodHRw
czovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9OTE5MzkKKworICAgICAgICBS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