2008-10-17 Maciej Stachowiak <mjs@apple.com>
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Oct 2008 00:08:44 +0000 (00:08 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Oct 2008 00:08:44 +0000 (00:08 +0000)
        Reviewed by Geoff Garen.

        - remove ASSERT that makes the leaks buildbot cry

        * kjs/JSFunction.cpp:
        (JSC::JSFunction::JSFunction):

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

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/JSFunction.cpp

index 330e71704b5fbe2758385ccabf8f3315198a4b6d..b6d4cde09f0a0a7b7f0ee47f975046d920d19252 100644 (file)
@@ -1,3 +1,12 @@
+2008-10-17  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Geoff Garen.
+        
+        - remove ASSERT that makes the leaks buildbot cry
+
+        * kjs/JSFunction.cpp:
+        (JSC::JSFunction::JSFunction):
+
 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Cameron Zwarich
index 6f4c51f2a032c844d09b94a5229f0b17a0e7abe5..a70d2935a8ada99db6b9dcb0f7b90a92d348aa59 100644 (file)
@@ -49,7 +49,6 @@ JSFunction::JSFunction(ExecState* exec, const Identifier& name, FunctionBodyNode
     , m_body(body)
     , m_scopeChain(scopeChainNode)
 {
-    ASSERT(exec->globalData().parser->parse<FunctionBodyNode>(exec, 0, body->source()));
 }
 
 void JSFunction::mark()