Put ENABLE(ASSEMBLER) guards around use of ExecutableAllocator in global data
[WebKit-https.git] / JavaScriptCore / runtime / JSGlobalData.h
index 64ff2f2..14e3569 100644 (file)
@@ -120,11 +120,14 @@ namespace JSC {
         HashSet<JSObject*> arrayVisitedElements;
 
         Heap heap;
-
+#if ENABLE(ASSEMBLER)
         PassRefPtr<ExecutablePool> poolForSize(size_t n) { return m_executableAllocator.poolForSize(n); }
+#endif
     private:
         JSGlobalData(bool isShared = false);
+#if ENABLE(ASSEMBLER)
         ExecutableAllocator m_executableAllocator;
+#endif
 
         static JSGlobalData*& sharedInstanceInternal();
     };