[JSC] Build fix for FTL on EFL after ftlopt merge
[WebKit-https.git] / Source / JavaScriptCore / dfg / DFGByteCodeParser.cpp
index 8d9dae8..13c03f8 100644 (file)
@@ -1067,6 +1067,7 @@ void ByteCodeParser::handleCall(
         if (m_graph.compilation())
             m_graph.compilation()->noticeInlinedCall();
         return;
+#if ENABLE(FTL_NATIVE_CALL_INLINING)
     } else if (isFTL(m_graph.m_plan.mode) && Options::optimizeNativeCalls()) {
         JSFunction* function = callLinkStatus.function();
         if (function && function->isHostFunction()) {
@@ -1080,6 +1081,7 @@ void ByteCodeParser::handleCall(
                 op = NativeConstruct;
             }
         }
+#endif
     }
     Node* call = addCall(result, op, callTarget, argumentCountIncludingThis, registerOffset, prediction);