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/ftl/FTLState.cpp

    r171391 r172149  
    3333#include "FTLJITCode.h"
    3434#include "FTLJITFinalizer.h"
    35 #include "InlineRuntimeSymbolTable.h"
    3635#include <llvm/InitializeLLVM.h>
    3736#include <stdio.h>
     37
     38#if ENABLE(FTL_NATIVE_CALL_INLINING)
     39#include "InlineRuntimeSymbolTable.h"
     40#endif
    3841
    3942namespace JSC { namespace FTL {
     
    5154{
    5255
     56#if ENABLE(FTL_NATIVE_CALL_INLINING)
    5357#define SYMBOL_TABLE_ADD(symbol, file) \
    5458    symbolTable.fastAdd(symbol, file);
    5559    FOR_EACH_LIBRARY_SYMBOL(SYMBOL_TABLE_ADD)
    5660#undef SYMBOL_TABLE_ADD
     61#endif
    5762   
    5863    switch (graph.m_plan.mode) {
Note: See TracChangeset for help on using the changeset viewer.