Ignore:
Timestamp:
Aug 6, 2014, 8:44:57 AM (11 years ago)
Author:
Dániel Bátyai
Message:

[JSC] Build fix for FTL on EFL after ftlopt merge
https://bugs.webkit.org/show_bug.cgi?id=135565

Reviewed by Mark Lam.

Source/JavaScriptCore:

Adding an enable guard for native inlining, since it now requires the bitcode
emitted from Clang, and we don't have a good way of creating it from other compilers.

  • dfg/DFGByteCodeParser.cpp:

(JSC::DFG::ByteCodeParser::handleCall):

  • ftl/FTLLowerDFGToLLVM.cpp:

(JSC::FTL::LowerDFGToLLVM::compileNode):

  • ftl/FTLState.cpp:

(JSC::FTL::State::State):

  • ftl/FTLState.h:

Source/WTF:

Added ENABLE(FTL_NATIVE_CALL_INLINING).

  • wtf/Platform.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

    r172129 r172149  
    10681068            m_graph.compilation()->noticeInlinedCall();
    10691069        return;
     1070#if ENABLE(FTL_NATIVE_CALL_INLINING)
    10701071    } else if (isFTL(m_graph.m_plan.mode) && Options::optimizeNativeCalls()) {
    10711072        JSFunction* function = callLinkStatus.function();
     
    10811082            }
    10821083        }
     1084#endif
    10831085    }
    10841086    Node* call = addCall(result, op, callTarget, argumentCountIncludingThis, registerOffset, prediction);
Note: See TracChangeset for help on using the changeset viewer.