Ignore:
Timestamp:
Aug 22, 2017, 12:22:48 PM (8 years ago)
Author:
[email protected]
Message:

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

Reviewed by Mark Lam.

Source/JavaScriptCore:

This is needed to enable the DFG. MSVC does no longer support inline assembly
for 64-bit, which means we have to put the code in an asm file.

  • assembler/MacroAssemblerX86Common.cpp:

(JSC::booleanTrueForAvoidingNoReturnDeclaration): Deleted.

  • jit/JITStubsMSVC64.asm:

Source/WTF:

Enable masm probe and DFG.

  • wtf/Platform.h:
File:
1 edited

Legend:

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

    r221002 r221032  
    704704#endif // COMPILER(GCC_OR_CLANG)
    705705#endif // CPU(X86_64)
    706 
    707 #if OS(WINDOWS) && CPU(X86_64)
    708 static bool booleanTrueForAvoidingNoReturnDeclaration() { return true; }
    709 
    710 extern "C" void ctiMasmProbeTrampoline()
    711 {
    712     if (booleanTrueForAvoidingNoReturnDeclaration())
    713         RELEASE_ASSERT_NOT_REACHED();
    714 }
    715 #endif // OS(WINDOWS)
    716706
    717707// What code is emitted for the probe?
Note: See TracChangeset for help on using the changeset viewer.