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

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

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

index e147c0c..e6241a5 100644 (file)
@@ -1,3 +1,11 @@
+2012-06-10  Patrick Gansterer  <paroga@webkit.org>
+
+        Unreviewed. Build fix for !ENABLE(JIT) after r119844.
+
+        * runtime/Executable.h:
+        (ExecutableBase):
+        (JSC):
+
 2012-06-09  Dominic Cooney  <dominicc@chromium.org>
 
         [Chromium] Remove JavaScriptCore dependencies from gyp
index ef545de..30b3a12 100644 (file)
@@ -176,11 +176,13 @@ namespace JSC {
                 return intrinsic();
             return NoIntrinsic;
         }
+#endif
 
     protected:
         ExecutableBase* m_prev;
         ExecutableBase* m_next;
 
+#if ENABLE(JIT)
         JITCode m_jitCodeForCall;
         JITCode m_jitCodeForConstruct;
         MacroAssemblerCodePtr m_jitCodeForCallWithArityCheck;
@@ -732,6 +734,7 @@ namespace JSC {
         return function->nativeFunction() == nativeFunction;
     }
 
+#if ENABLE(JIT)
     inline void ExecutableBase::clearCodeVirtual(ExecutableBase* executable)
     {
         switch (executable->structure()->typeInfo().type()) {
@@ -745,6 +748,7 @@ namespace JSC {
             return jsCast<NativeExecutable*>(executable)->clearCode();
         }
     }
+#endif
 
     inline void ScriptExecutable::unlinkCalls()
     {