Fix the activation.
authorRoberto Raggi <roberto.raggi@nokia.com>
Mon, 14 May 2012 15:42:47 +0000 (17:42 +0200)
committerRoberto Raggi <roberto.raggi@nokia.com>
Mon, 14 May 2012 15:42:47 +0000 (17:42 +0200)
qmljs_objects.cpp

index aed6c37..b9d0da7 100644 (file)
@@ -132,7 +132,6 @@ ScriptFunction::ScriptFunction(Context *scope, IR::Function *function)
     : FunctionObject(scope)
     , function(function)
 {
-    needsActivation = function->needsActivation();
     formalParameterCount = function->formals.size();
     if (formalParameterCount) {
         formalParameterList = new String*[formalParameterCount];