Title: [129830] trunk/Source/_javascript_Core
Revision
129830
Author
mark....@apple.com
Date
2012-09-27 18:43:52 -0700 (Thu, 27 Sep 2012)

Log Message

Put initializeHostCallReturnValue() behind #if ENABLE(JIT).
Fixes non JIT builds.
https://bugs.webkit.org/show_bug.cgi?id=97838.

Reviewed by John Sullivan.

* runtime/JSGlobalData.cpp:
(JSC::JSGlobalData::JSGlobalData):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (129829 => 129830)


--- trunk/Source/_javascript_Core/ChangeLog	2012-09-28 01:16:06 UTC (rev 129829)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-09-28 01:43:52 UTC (rev 129830)
@@ -1,5 +1,16 @@
 2012-09-27  Mark Lam  <mark....@apple.com>
 
+        Put initializeHostCallReturnValue() behind #if ENABLE(JIT).
+        Fixes non JIT builds.
+        https://bugs.webkit.org/show_bug.cgi?id=97838.
+
+        Reviewed by John Sullivan.
+
+        * runtime/JSGlobalData.cpp:
+        (JSC::JSGlobalData::JSGlobalData):
+
+2012-09-27  Mark Lam  <mark....@apple.com>
+
         Fixed CallFrameClosure::resetCallFrame() to use the valid
         range of argument index values.
         https://bugs.webkit.org/show_bug.cgi?id=97836.

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalData.cpp (129829 => 129830)


--- trunk/Source/_javascript_Core/runtime/JSGlobalData.cpp	2012-09-28 01:16:06 UTC (rev 129829)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalData.cpp	2012-09-28 01:43:52 UTC (rev 129830)
@@ -231,7 +231,9 @@
     
     interpreter->initialize(this->canUseJIT());
     
+#if ENABLE(JIT)
     initializeHostCallReturnValue(); // This is needed to convince the linker not to drop host call return support.
+#endif
 
     heap.notifyIsSafeToCollect();
     
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to