Ignore:
Timestamp:
Oct 10, 2017, 4:14:12 PM (8 years ago)
Author:
[email protected]
Message:

Fix compilation when MASM_PROBE (and therefore DFG) are disabled
https://bugs.webkit.org/show_bug.cgi?id=178134

Reviewed by Saam Barati.

  • bytecode/CodeBlock.cpp:
  • bytecode/CodeBlock.h:

Disable some code when building without DFG_JIT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r222871 r223155  
    23212321}
    23222322
     2323#if ENABLE(DFG_JIT)
    23232324auto CodeBlock::updateOSRExitCounterAndCheckIfNeedToReoptimize(DFG::OSRExitState& exitState) -> OptimizeAction
    23242325{
     
    23672368    return OptimizeAction::None;
    23682369}
     2370#endif
    23692371
    23702372void CodeBlock::optimizeNextInvocation()
Note: See TracChangeset for help on using the changeset viewer.