Ignore:
Timestamp:
Aug 18, 2017, 12:20:23 PM (8 years ago)
Author:
[email protected]
Message:

Implement 32-bit MacroAssembler::probe support for Windows.
https://bugs.webkit.org/show_bug.cgi?id=175449

Reviewed by Mark Lam.

Source/JavaScriptCore:

This is needed to enable the DFG.

  • assembler/MacroAssemblerX86Common.cpp:
  • assembler/testmasm.cpp:

(JSC::run):
(dllLauncherEntryPoint):

  • shell/CMakeLists.txt:
  • shell/PlatformWin.cmake:

Source/WTF:

Enable the DFG on Win32.

  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/testmasm.cpp

    r220921 r220926  
    692692
    693693    auto shouldRun = [&] (const char* testName) -> bool {
     694#if OS(UNIX)
    694695        return !filter || !!strcasestr(testName, filter);
     696#else
     697        return !filter || !!strstr(testName, filter);
     698#endif
    695699    };
    696700
     
    766770    return 0;
    767771}
     772
     773#if OS(WINDOWS)
     774extern "C" __declspec(dllexport) int WINAPI dllLauncherEntryPoint(int argc, const char* argv[])
     775{
     776    return main(argc, const_cast<char**>(argv));
     777}
     778#endif
Note: See TracChangeset for help on using the changeset viewer.