<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FTL is not working on Windows."
   href="https://bugs.webkit.org/show_bug.cgi?id=145366#c56">Comment # 56</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - FTL is not working on Windows."
   href="https://bugs.webkit.org/show_bug.cgi?id=145366">bug 145366</a>
              from <span class="vcard"><a class="email" href="mailto:achristensen&#64;apple.com" title="Alex Christensen &lt;achristensen&#64;apple.com&gt;"> <span class="fn">Alex Christensen</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=262334&amp;action=diff" name="attach_262334" title="Patch">attachment 262334</a> <a href="attachment.cgi?id=262334&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=262334&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=262334&amp;action=review</a>

I have a few nits about the build system changes.

<span class="quote">&gt; Source/JavaScriptCore/CMakeLists.txt:846
&gt; +    if (NOT LLVM_STATIC_LIBRARIES AND NOT MSVC)</span >

Please use WIN32 instead of MSVC.  It causes fewer warnings when running cmake and until someone builds webkit with mingw or clang, they're the same thing.

<span class="quote">&gt; Source/JavaScriptCore/CMakeLists.txt:876
&gt; +        target_link_libraries(llvmForJSC &quot;LLVMAnalysis.lib;LLVMAsmParser.lib;LLVMAsmPrinter.lib;LLVMBitReader.lib;LLVMBitWriter.lib;LLVMCodeGen.lib;LLVMCore.lib;LLVMDebugInfo.lib;LLVMExecutionEngine.lib;LLVMInstCombine.lib;LLVMInstrumentation.lib;LLVMInterpreter.lib;LLVMipa.lib;LLVMipo.lib;LLVMIRReader.lib;LLVMJIT.lib;LLVMLinker.lib;LLVMLTO.lib;LLVMMC.lib;LLVMMCDisassembler.lib;LLVMMCJIT.lib;LLVMMCParser.lib;LLVMObjCARCOpts.lib;LLVMObject.lib;LLVMOption.lib;LLVMRuntimeDyld.lib;LLVMScalarOpts.lib;LLVMSelectionDAG.lib;LLVMSupport.lib;LLVMTableGen.lib;LLVMTarget.lib;LLVMTransformUtils.lib;LLVMVectorize.lib;LLVMX86AsmParser.lib;LLVMX86AsmPrinter.lib;LLVMX86CodeGen.lib;LLVMX86Desc.lib;LLVMX86Disassembler.lib;LLVMX86Info.lib;LLVMX86Utils.lib;LLVMProfileData.lib&quot;)</span >

These should be in LLVM_STATIC_LIBRARIES.

<span class="quote">&gt; Source/cmake/OptionsWin.cmake:39
&gt; +WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FTL_JIT PRIVATE ON)</span >

Shouldn't this only be enabled for the 64-bit build?

<span class="quote">&gt; Tools/Scripts/webkitdirs.pm:1888
&gt; +    if (isWin64()) {</span >

&amp;&amp; !canUseNinja()</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>