Initialize functionPrototype.
authorRoberto Raggi <roberto.raggi@nokia.com>
Mon, 21 May 2012 16:44:36 +0000 (18:44 +0200)
committerRoberto Raggi <roberto.raggi@nokia.com>
Mon, 21 May 2012 16:44:36 +0000 (18:44 +0200)
qmljs_objects.cpp

index 35a90ae..cd5a0e9 100644 (file)
@@ -204,7 +204,7 @@ ExecutionEngine::ExecutionEngine()
     booleanPrototype.type = NULL_TYPE;
     arrayPrototype.type = NULL_TYPE;
     datePrototype.type = NULL_TYPE;
-    //functionPrototype.type = NULL_TYPE;
+    functionPrototype.type = NULL_TYPE;
 
     //
     // set up the global object