aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4lookup_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-09-12 22:48:31 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2018-09-14 07:54:28 +0000
commit983c036972248c1eb94a0df196951f15210cd71e (patch)
treec0091d6ca82e6afd140eaafe3f1f850eee400ae9 /src/qml/jsruntime/qv4lookup_p.h
parent624ced39e92ee98588a2f8bb7aa7111c4f67eb74 (diff)
Never inline this lookup
It significantly decreases performance if this one gets inlined from some of the places we call it. Change-Id: I1e1102eaba45d15df25dafbed437ade1a4a511a9 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4lookup_p.h')
-rw-r--r--src/qml/jsruntime/qv4lookup_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4lookup_p.h b/src/qml/jsruntime/qv4lookup_p.h
index c7555539b4..83e561863b 100644
--- a/src/qml/jsruntime/qv4lookup_p.h
+++ b/src/qml/jsruntime/qv4lookup_p.h
@@ -150,7 +150,7 @@ struct Lookup {
bool resolveSetter(ExecutionEngine *engine, Object *object, const Value &value);
static bool setterGeneric(Lookup *l, ExecutionEngine *engine, Value &object, const Value &value);
- static bool setterTwoClasses(Lookup *l, ExecutionEngine *engine, Value &object, const Value &value);
+ Q_NEVER_INLINE static bool setterTwoClasses(Lookup *l, ExecutionEngine *engine, Value &object, const Value &value);
static bool setterFallback(Lookup *l, ExecutionEngine *engine, Value &object, const Value &value);
static bool setter0(Lookup *l, ExecutionEngine *engine, Value &object, const Value &value);
static bool setter0Inline(Lookup *l, ExecutionEngine *engine, Value &object, const Value &value);