aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4function_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-08-31 15:35:20 +0200
committerLars Knoll <lars.knoll@qt.io>2017-09-02 07:12:22 +0000
commit020ad3d259f57c379fbcdd4e69c235dd1b0a3774 (patch)
tree170e5199a8b7327ca7f46eccf557e5803224c488 /src/qml/jsruntime/qv4function_p.h
parent74c8fe86755af485f8d0a47799d6d50f00070f05 (diff)
Get rid of the hack for named expressions
Instead simply use the pointer to the FunctionObject we have in the CallData now. Change-Id: I6d7ed8af22e89e0217bef427110611b661ac7965 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
-rw-r--r--src/qml/jsruntime/qv4function_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h
index f0e325ec3a..87a75c6b7d 100644
--- a/src/qml/jsruntime/qv4function_p.h
+++ b/src/qml/jsruntime/qv4function_p.h
@@ -91,7 +91,6 @@ struct Q_QML_EXPORT Function {
inline bool usesArgumentsObject() const { return compiledFunction->flags & CompiledData::Function::UsesArgumentsObject; }
inline bool isStrict() const { return compiledFunction->flags & CompiledData::Function::IsStrict; }
- inline bool isNamedExpression() const { return compiledFunction->flags & CompiledData::Function::IsNamedExpression; }
inline bool canUseSimpleFunction() const { return canUseSimpleCall; }