Fix broken non-JIT build.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Aug 2012 03:52:40 +0000 (03:52 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 21 Aug 2012 03:52:40 +0000 (03:52 +0000)
https://bugs.webkit.org/show_bug.cgi?id=94564.

Patch by Mark Lam <mark.lam@apple.com> on 2012-08-20
Reviewed by Filip Pizlo.

Added some UNUSED_PARAM() macros to make the compiler happy.

* runtime/Executable.cpp:
(JSC::EvalExecutable::compileInternal):
(JSC::ProgramExecutable::compileInternal):
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/Executable.cpp

index bd68e5e..4297df1 100644 (file)
@@ -1,5 +1,20 @@
 2012-08-20  Mark Lam  <mark.lam@apple.com>
 
 2012-08-20  Mark Lam  <mark.lam@apple.com>
 
+        Fix broken non-JIT build.
+        https://bugs.webkit.org/show_bug.cgi?id=94564.
+
+        Reviewed by Filip Pizlo.
+
+        Added some UNUSED_PARAM() macros to make the compiler happy.
+
+        * runtime/Executable.cpp:
+        (JSC::EvalExecutable::compileInternal):
+        (JSC::ProgramExecutable::compileInternal):
+        (JSC::FunctionExecutable::compileForCallInternal):
+        (JSC::FunctionExecutable::compileForConstructInternal):
+
+2012-08-20  Mark Lam  <mark.lam@apple.com>
+
         Fixed erroneous line number for LLint frame when throwing exceptions.
         https://bugs.webkit.org/show_bug.cgi?id=94051.
 
         Fixed erroneous line number for LLint frame when throwing exceptions.
         https://bugs.webkit.org/show_bug.cgi?id=94051.
 
index b54e9b0..50bb5ff 100644 (file)
@@ -199,6 +199,7 @@ JSObject* EvalExecutable::compileInternal(ExecState* exec, ScopeChainNode* scope
     
 #if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
     
 #if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
+    UNUSED_PARAM(bytecodeIndex);
 #endif
     JSObject* exception = 0;
     JSGlobalData* globalData = &exec->globalData();
 #endif
     JSObject* exception = 0;
     JSGlobalData* globalData = &exec->globalData();
@@ -325,6 +326,7 @@ JSObject* ProgramExecutable::compileInternal(ExecState* exec, ScopeChainNode* sc
     
 #if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
     
 #if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
+    UNUSED_PARAM(bytecodeIndex);
 #endif
     JSObject* exception = 0;
     JSGlobalData* globalData = &exec->globalData();
 #endif
     JSObject* exception = 0;
     JSGlobalData* globalData = &exec->globalData();
@@ -510,6 +512,7 @@ JSObject* FunctionExecutable::compileForCallInternal(ExecState* exec, ScopeChain
     UNUSED_PARAM(exec);
     UNUSED_PARAM(jitType);
     UNUSED_PARAM(exec);
     UNUSED_PARAM(exec);
     UNUSED_PARAM(jitType);
     UNUSED_PARAM(exec);
+    UNUSED_PARAM(bytecodeIndex);
 #endif
     ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForCall);
     JSObject* exception;
 #endif
     ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForCall);
     JSObject* exception;
@@ -551,6 +554,7 @@ JSObject* FunctionExecutable::compileForConstructInternal(ExecState* exec, Scope
 #if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
     UNUSED_PARAM(exec);
 #if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
     UNUSED_PARAM(exec);
+    UNUSED_PARAM(bytecodeIndex);
 #endif
     
     ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForConstruct);
 #endif
     
     ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForConstruct);