Title: [98916] trunk/Source/_javascript_Core
Revision
98916
Author
mhahnenb...@apple.com
Date
2011-10-31 16:57:57 -0700 (Mon, 31 Oct 2011)

Log Message

Interpreter build fix

Unreviewed build fix

* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* runtime/Executable.cpp:
(JSC::FunctionExecutable::compileForCallInternal):
(JSC::FunctionExecutable::compileForConstructInternal):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (98915 => 98916)


--- trunk/Source/_javascript_Core/ChangeLog	2011-10-31 23:56:36 UTC (rev 98915)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-10-31 23:57:57 UTC (rev 98916)
@@ -1,3 +1,15 @@
+2011-10-31  Mark Hahnenberg  <mhahnenb...@apple.com>
+
+        Interpreter build fix
+
+        Unreviewed build fix
+
+        * interpreter/Interpreter.cpp:
+        (JSC::Interpreter::privateExecute):
+        * runtime/Executable.cpp:
+        (JSC::FunctionExecutable::compileForCallInternal):
+        (JSC::FunctionExecutable::compileForConstructInternal):
+
 2011-10-31  Filip Pizlo  <fpi...@apple.com>
 
         DFG OSR exits should add to value profiles

Modified: trunk/Source/_javascript_Core/interpreter/Interpreter.cpp (98915 => 98916)


--- trunk/Source/_javascript_Core/interpreter/Interpreter.cpp	2011-10-31 23:56:36 UTC (rev 98915)
+++ trunk/Source/_javascript_Core/interpreter/Interpreter.cpp	2011-10-31 23:57:57 UTC (rev 98916)
@@ -4989,7 +4989,7 @@
         JSObject* baseObj = asObject(callFrame->r(base).jsValue());
         Identifier& ident = codeBlock->identifier(property);
         ASSERT(callFrame->r(function).jsValue().isObject());
-        baseObj->methodTable()->defineGetter(baseObj, callFrame, ident, asObject(callFrame->r(function).jsValue()));
+        baseObj->methodTable()->defineGetter(baseObj, callFrame, ident, asObject(callFrame->r(function).jsValue()), 0);
 
         vPC += OPCODE_LENGTH(op_put_getter);
         NEXT_INSTRUCTION();

Modified: trunk/Source/_javascript_Core/runtime/Executable.cpp (98915 => 98916)


--- trunk/Source/_javascript_Core/runtime/Executable.cpp	2011-10-31 23:56:36 UTC (rev 98915)
+++ trunk/Source/_javascript_Core/runtime/Executable.cpp	2011-10-31 23:57:57 UTC (rev 98916)
@@ -456,6 +456,7 @@
 JSObject* FunctionExecutable::compileForCallInternal(ExecState* exec, ScopeChainNode* scopeChainNode, JITCode::JITType jitType)
 {
 #if !ENABLE(JIT)
+    UNUSED_PARAM(exec);
     UNUSED_PARAM(jitType);
 #endif
     ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForCall);
@@ -514,7 +515,10 @@
 
 JSObject* FunctionExecutable::compileForConstructInternal(ExecState* exec, ScopeChainNode* scopeChainNode, JITCode::JITType jitType)
 {
+#if !ENABLE(JIT)
     UNUSED_PARAM(jitType);
+    UNUSED_PARAM(exec);
+#endif
     
     ASSERT((jitType == JITCode::bottomTierJIT()) == !m_codeBlockForConstruct);
     JSObject* exception;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to