Put ENABLE(ASSEMBLER) guards around use of ExecutableAllocator in global data
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Dec 2008 01:28:48 +0000 (01:28 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Dec 2008 01:28:48 +0000 (01:28 +0000)
Correct Qt and Gtk project files

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39087 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/GNUmakefile.am
JavaScriptCore/JavaScriptCore.pri
JavaScriptCore/runtime/JSGlobalData.h

index 6099d68..f0ade8c 100644 (file)
@@ -2,6 +2,18 @@
 
         Reviewed by NOBODY (Build fix).
 
+        Put ENABLE(ASSEMBLER) guards around use of ExecutableAllocator in global data
+
+        Correct Qt and Gtk project files
+
+        * GNUmakefile.am:
+        * JavaScriptCore.pri:
+        * runtime/JSGlobalData.h:
+
+2008-12-07  Oliver Hunt  <oliver@apple.com>
+
+        Reviewed by NOBODY (Build fix).
+
         Add new files to other projects.
 
         * GNUmakefile.am:
index b22ea04..795557f 100644 (file)
@@ -78,7 +78,7 @@ javascriptcore_sources += \
        JavaScriptCore/jit/JITPropertyAccess.cpp \
        JavaScriptCore/jit/JITArithmetic.cpp \
        JavaScriptCore/jit/ExecutableAllocator.cpp \
-       JavaScriptCore/jit/ExecutableAllocatorMMAP.cpp \
+       JavaScriptCore/jit/ExecutableAllocatorPosix.cpp \
        JavaScriptCore/jit/JIT.h \
        JavaScriptCore/jit/JITInlineMethods.h \
        JavaScriptCore/bytecode/CodeBlock.cpp \
index 7fcdca9..4bb5311 100644 (file)
@@ -75,7 +75,7 @@ SOURCES += \
     jit/JITArithmetic.cpp \
     jit/JITPropertyAccess.cpp \
     jit/ExecutableAllocator.cpp \
-    jit/ExecutableAllocatorMMAP.cpp \
+    jit/ExecutableAllocatorPosix.cpp \
     bytecompiler/BytecodeGenerator.cpp \
     runtime/ExceptionHelpers.cpp \
     runtime/JSPropertyNameIterator.cpp \
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();
     };