Unreviewed. Build fix for !ENABLE(JIT) after r119844 and r119925.
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Jun 2012 12:49:32 +0000 (12:49 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 10 Jun 2012 12:49:32 +0000 (12:49 +0000)
* runtime/Executable.h:
(ExecutableBase):
(JSC::ExecutableBase::clearCodeVirtual):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/Executable.h

index e6241a5..756da9e 100644 (file)
@@ -1,5 +1,13 @@
 2012-06-10  Patrick Gansterer  <paroga@webkit.org>
 
+        Unreviewed. Build fix for !ENABLE(JIT) after r119844 and r119925.
+
+        * runtime/Executable.h:
+        (ExecutableBase):
+        (JSC::ExecutableBase::clearCodeVirtual):
+
+2012-06-10  Patrick Gansterer  <paroga@webkit.org>
+
         Unreviewed. Build fix for !ENABLE(JIT) after r119844.
 
         * runtime/Executable.h:
index 30b3a12..e5f6de4 100644 (file)
@@ -103,10 +103,10 @@ namespace JSC {
         int m_numParametersForCall;
         int m_numParametersForConstruct;
 
-#if ENABLE(JIT)
     public:
         static void clearCodeVirtual(ExecutableBase*);
 
+#if ENABLE(JIT)
         JITCode& generatedJITCodeForCall()
         {
             ASSERT(m_jitCodeForCall);
@@ -734,7 +734,6 @@ namespace JSC {
         return function->nativeFunction() == nativeFunction;
     }
 
-#if ENABLE(JIT)
     inline void ExecutableBase::clearCodeVirtual(ExecutableBase* executable)
     {
         switch (executable->structure()->typeInfo().type()) {
@@ -748,7 +747,6 @@ namespace JSC {
             return jsCast<NativeExecutable*>(executable)->clearCode();
         }
     }
-#endif
 
     inline void ScriptExecutable::unlinkCalls()
     {