diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2018-05-28 14:22:24 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-05-28 19:15:47 +0000 |
commit | ef75c3017e75135fb3454f67c0778e9a89165cd2 (patch) | |
tree | ce2bcc7a9a9ddf7ae8322e4d158a8fe70370f3d3 /src/qml/jsruntime/qv4functionobject.cpp | |
parent | 2e17c1bed2f0690342f98130701ebfe088075a60 (diff) |
Remove unused QV4::Function::code member
Since commit 831ddc54932d2681712ca9fa3e94484ae11d59f7 we always call the
interpreter entry function when calling into JS.
Change-Id: Ieeb549f6d144f02f0a919759fd31541a7f636f83
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4functionobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4functionobject.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4functionobject.cpp b/src/qml/jsruntime/qv4functionobject.cpp index e95f5108a9..a9aaa344cb 100644 --- a/src/qml/jsruntime/qv4functionobject.cpp +++ b/src/qml/jsruntime/qv4functionobject.cpp @@ -465,7 +465,6 @@ void Heap::ScriptFunction::init(QV4::ExecutionContext *scope, Function *function setFunction(function); Q_ASSERT(function); - Q_ASSERT(function->code); Scope s(scope); ScopedFunctionObject f(s, this); |