diff options
author | Lars Knoll <lars.knoll@qt.io> | 2018-04-04 19:09:30 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2018-05-02 14:17:37 +0000 |
commit | 748558b3065881f91765d276ee5637cf7634a298 (patch) | |
tree | c53a12c74c6eda62d4981d45c7893282c706df92 /src/qml/compiler/qv4compilercontext_p.h | |
parent | 0496475831972387fe74733fec6de68c4fcb2c45 (diff) |
Remove unused method
Change-Id: If22845b19c72362249347083edef591f7032f468
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compilercontext_p.h')
-rw-r--r-- | src/qml/compiler/qv4compilercontext_p.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/qml/compiler/qv4compilercontext_p.h b/src/qml/compiler/qv4compilercontext_p.h index 65091bb67e..289488cbc8 100644 --- a/src/qml/compiler/qv4compilercontext_p.h +++ b/src/qml/compiler/qv4compilercontext_p.h @@ -220,13 +220,6 @@ struct Context { bool forceLookupByName(); - bool canUseSimpleCall() const { - return nestedContexts.isEmpty() && - locals.isEmpty() && - !hasTry && !hasWith && - (usesArgumentsObject == ArgumentsObjectNotUsed || isStrict) && !hasDirectEval; - } - int findArgument(const QString &name) { // search backwards to handle duplicate argument names correctly |