Changeset 195691 in webkit


Ignore:
Timestamp:
Jan 27, 2016 2:08:20 PM (8 years ago)
Author:
peavo@outlook.com
Message:

[FTL][Win64] Compile fix.
https://bugs.webkit.org/show_bug.cgi?id=153555

Reviewed by Alex Christensen.

MSVC does not accept preprocessor conditionals in macros.

  • ftl/FTLOSRExitCompiler.cpp:

(JSC::FTL::compileStub):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r195683 r195691  
     12016-01-27  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [FTL][Win64] Compile fix.
     4        https://bugs.webkit.org/show_bug.cgi?id=153555
     5
     6        Reviewed by Alex Christensen.
     7
     8        MSVC does not accept preprocessor conditionals in macros.
     9
     10        * ftl/FTLOSRExitCompiler.cpp:
     11        (JSC::FTL::compileStub):
     12
    1132016-01-27  Filip Pizlo  <fpizlo@apple.com>
    214
  • trunk/Source/JavaScriptCore/ftl/FTLOSRExitCompiler.cpp

    r194382 r195691  
    568568   
    569569    LinkBuffer patchBuffer(*vm, jit, codeBlock);
     570#if FTL_USES_B3
    570571    exit.m_code = FINALIZE_CODE_IF(
    571572        shouldDumpDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit(),
    572573        patchBuffer,
    573 #if FTL_USES_B3
    574574        ("FTL OSR exit #%u (%s, %s) from %s, with operands = %s",
    575575            exitID, toCString(exit.m_codeOrigin).data(),
    576576            exitKindToString(exit.m_kind), toCString(*codeBlock).data(),
    577577            toCString(ignoringContext<DumpContext>(exit.m_descriptor->m_values)).data())
    578 #else // FTL_USES_B3
     578        );
     579#else // FTL_USES_B3
     580    exit.m_code = FINALIZE_CODE_IF(
     581        shouldDumpDisassembly() || Options::verboseOSR() || Options::verboseFTLOSRExit(),
     582        patchBuffer,
    579583        ("FTL OSR exit #%u (%s, %s) from %s, with operands = %s, and record = %s",
    580584            exitID, toCString(exit.m_codeOrigin).data(),
     
    582586            toCString(ignoringContext<DumpContext>(exit.m_descriptor->m_values)).data(),
    583587            toCString(*record).data())
    584 #endif // FTL_USES_B3
    585588        );
     589#endif // FTL_USES_B3
    586590}
    587591
Note: See TracChangeset for help on using the changeset viewer.