REGRESSION(r47639-r47660): Webkit crashes on launch on PowerPC
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Aug 2009 05:04:45 +0000 (05:04 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 23 Aug 2009 05:04:45 +0000 (05:04 +0000)
https://bugs.webkit.org/show_bug.cgi?id=28655

Reviewed by Mark Rowe.

* runtime/JSFunction.cpp:
(JSC::JSFunction::JSFunction): Initialize properly with a VPtrHackExecutable.
* wtf/Platform.h:

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

JavaScriptCore/ChangeLog
JavaScriptCore/runtime/JSFunction.cpp

index c511bd0eab873947834a9e86ab42e9fe3b8ba5d5..42748c1031543d19d6c9528b17da98a0c6ac5bbe 100644 (file)
@@ -1,3 +1,14 @@
+2009-08-22  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Mark Rowe.
+
+        REGRESSION(r47639-r47660): Webkit crashes on launch on PowerPC
+        https://bugs.webkit.org/show_bug.cgi?id=28655
+
+        * runtime/JSFunction.cpp:
+        (JSC::JSFunction::JSFunction): Initialize properly with a VPtrHackExecutable.
+        * wtf/Platform.h:
+
 2009-08-22  Darin Adler  <darin@apple.com>
 
         Fix storage leak from syntax tree arena allocation patch.
index d5cb00d1a81f2f5509bc60dfdafd322c8f893fd4..57bbe982ce0f919145ea03f02155d3b1c5ba40bf 100644 (file)
@@ -52,9 +52,7 @@ bool JSFunction::isHostFunctionNonInline() const
 
 JSFunction::JSFunction(PassRefPtr<Structure> structure)
     : Base(structure)
-#if ENABLE(JIT)
     , m_executable(adoptRef(new VPtrHackExecutable()))
-#endif
 {
 }