diff options
| author | Lars Knoll <lars.knoll@qt.io> | 2016-12-02 12:35:52 +0100 |
|---|---|---|
| committer | Lars Knoll <lars.knoll@qt.io> | 2016-12-09 08:31:06 +0000 |
| commit | c6baaaa8e65ac82a3d644459cf42f76d03a0442d (patch) | |
| tree | e4af452520637bb9ada0dbea7b19920b9b3d5b7c /src/qml/jsruntime/qv4functionobject.cpp | |
| parent | deec039008c4df5ec2686459ee8c00801ee9d852 (diff) | |
Get rid od ScriptFunction::init()
It was just forwarding to the parent implementation anyway.
Change-Id: I179966699978a86efdd6792b31b56eded501efbd
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
| -rw-r--r-- | src/qml/jsruntime/qv4functionobject.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp index 08d66bec6f..172b29e88b 100644 --- a/src/qml/jsruntime/qv4functionobject.cpp +++ b/src/qml/jsruntime/qv4functionobject.cpp @@ -420,11 +420,6 @@ ReturnedValue FunctionPrototype::method_bind(CallContext *ctx) DEFINE_OBJECT_VTABLE(ScriptFunction); -void Heap::ScriptFunction::init(QV4::ExecutionContext *scope, Function *function) -{ - Heap::SimpleScriptFunction::init(scope, function, true); -} - void ScriptFunction::construct(const Managed *that, Scope &scope, CallData *callData) { ExecutionEngine *v4 = scope.engine; |
