Move the generic construct() implementation into ScriptFunction
authorLars Knoll <lars.knoll@digia.com>
Thu, 14 Feb 2013 10:00:39 +0000 (11:00 +0100)
committerSimon Hausmann <simon.hausmann@digia.com>
Thu, 14 Feb 2013 11:03:37 +0000 (12:03 +0100)
commit03026421af42a44cf5edca48847abcee8841df4d
tree33cdc61e0cfbf56f4770e1cdab3639e2452f0bc5
parent2b59eda8304c6c40c9c286abe6070a88f24a3905
Move the generic construct() implementation into ScriptFunction

This is the only place we really need it, as the generic
construct method defined by the spec mainly applies to
functions defined in script.

Change-Id: I4fe4219715a4a9393900db6a2532e42fafaea2db
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
src/v4/qv4arrayobject.cpp
src/v4/qv4arrayobject.h
src/v4/qv4functionobject.cpp
src/v4/qv4functionobject.h