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/FTLLowerDFGToLLVM.cpp

    r172129 r172149  
    2929#if ENABLE(FTL_JIT)
    3030
    31 #include "BundlePath.h"
    3231#include "CodeBlockWithJITType.h"
    3332#include "DFGAbstractInterpreterInlines.h"
     
    4948#include <llvm/InitializeLLVM.h>
    5049#include <wtf/ProcessID.h>
     50
     51#if ENABLE(FTL_NATIVE_CALL_INLINING)
     52#include "BundlePath.h"
     53#endif
    5154
    5255namespace JSC { namespace FTL {
     
    632635            compileCallOrConstruct();
    633636            break;
     637#if ENABLE(FTL_NATIVE_CALL_INLINING)
    634638        case NativeCall:
    635639        case NativeConstruct:
    636640            compileNativeCallOrConstruct();
    637641            break;
     642#endif
    638643        case Jump:
    639644            compileJump();
     
    36313636        setBoolean(m_out.bitNot(boolify(m_node->child1())));
    36323637    }
    3633 
     3638#if ENABLE(FTL_NATIVE_CALL_INLINING)
    36343639    void compileNativeCallOrConstruct()
    36353640    {
     
    36853690        setJSValue(call);
    36863691    }
     3692#endif
    36873693
    36883694    void compileCallOrConstruct()
     
    40974103    }
    40984104   
     4105#if ENABLE(FTL_NATIVE_CALL_INLINING)
    40994106    LValue getFunctionBySymbol(const CString symbol)
    41004107    {
     
    41964203        return true;
    41974204    }
     4205#endif
    41984206
    41994207    bool isInlinableSize(LValue function)
Note: See TracChangeset for help on using the changeset viewer.