aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4function_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-10-20 10:09:01 +0200
committerLars Knoll <lars.knoll@qt.io>2017-11-07 07:24:29 +0000
commit07980a034609383e79132c9819b682c88d343a95 (patch)
treec9ca269529da5ab1009ca3a7de7765e336f094e0 /src/qml/jsruntime/qv4function_p.h
parent9ac383f8a5c33b1dba2e5226ebe8d540fcf2cb34 (diff)
Get rid of the unusued canUseSimpleCall flag
Change-Id: I5230342db4647bd95793475f751213f0725d6965 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function_p.h')
-rw-r--r--src/qml/jsruntime/qv4function_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/jsruntime/qv4function_p.h b/src/qml/jsruntime/qv4function_p.h
index 87a75c6b7d..5ecbd0a359 100644
--- a/src/qml/jsruntime/qv4function_p.h
+++ b/src/qml/jsruntime/qv4function_p.h
@@ -76,7 +76,6 @@ struct Q_QML_EXPORT Function {
InternalClass *internalClass;
uint nFormals;
bool hasQmlDependencies;
- bool canUseSimpleCall;
Function(ExecutionEngine *engine, CompiledData::CompilationUnit *unit, const CompiledData::Function *function, Code codePtr);
~Function();
@@ -92,8 +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 canUseSimpleFunction() const { return canUseSimpleCall; }
-
QQmlSourceLocation sourceLocation() const
{
return QQmlSourceLocation(sourceFile(), compiledFunction->location.line, compiledFunction->location.column);