Fix build with disabled DFG/FTL
[WebKit-https.git] / Source / JavaScriptCore / bytecode / InByIdStatus.cpp
index 25fc2b3..3460bed 100644 (file)
@@ -89,6 +89,7 @@ InByIdStatus InByIdStatus::computeFor(
             return result;
         };
         
+#if ENABLE(DFG_JIT)
         if (status.stubInfo) {
             InByIdStatus result;
             {
@@ -98,6 +99,7 @@ InByIdStatus InByIdStatus::computeFor(
             if (result.isSet())
                 return bless(result);
         }
+#endif
         
         if (status.inStatus)
             return bless(*status.inStatus);