aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4value_def_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-14 15:08:11 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-18 13:14:16 +0200
commit43cdae853b726642893622d2feffcd0f4a2d6953 (patch)
tree9ad482429a7808ab720a720400eb14e149c113da /src/qml/jsruntime/qv4value_def_p.h
parentf79df5da0769836bc866b470cdac43d6363dc7db (diff)
Optimize some runtime methods
This prings performance up by ~25% again. Change-Id: I680466e11b722b2eac0edda0fe4199b717d23855 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4value_def_p.h')
-rw-r--r--src/qml/jsruntime/qv4value_def_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4value_def_p.h b/src/qml/jsruntime/qv4value_def_p.h
index 866e5e7e7d..d83a4c4dc3 100644
--- a/src/qml/jsruntime/qv4value_def_p.h
+++ b/src/qml/jsruntime/qv4value_def_p.h
@@ -215,6 +215,7 @@ struct Q_QML_EXPORT Value
bool toBoolean() const;
double toInteger() const;
double toNumber() const;
+ double toNumberImpl() const;
QString toQStringNoThrow() const;
QString toQString() const;
String *toString(ExecutionContext *ctx) const;