[JSC] Build fix for FTL on EFL after ftlopt merge
[WebKit-https.git] / Source / JavaScriptCore / ftl / FTLState.cpp
index 92fe30b..0b5fd64 100644 (file)
 #include "FTLForOSREntryJITCode.h"
 #include "FTLJITCode.h"
 #include "FTLJITFinalizer.h"
-#include "InlineRuntimeSymbolTable.h"
 #include <llvm/InitializeLLVM.h>
 #include <stdio.h>
 
+#if ENABLE(FTL_NATIVE_CALL_INLINING)
+#include "InlineRuntimeSymbolTable.h"
+#endif
+
 namespace JSC { namespace FTL {
 
 using namespace DFG;
@@ -50,10 +53,12 @@ State::State(Graph& graph)
     , compactUnwindSize(0)
 {
 
+#if ENABLE(FTL_NATIVE_CALL_INLINING)
 #define SYMBOL_TABLE_ADD(symbol, file) \
     symbolTable.fastAdd(symbol, file);
     FOR_EACH_LIBRARY_SYMBOL(SYMBOL_TABLE_ADD)
 #undef SYMBOL_TABLE_ADD
+#endif
     
     switch (graph.m_plan.mode) {
     case FTLMode: {