aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-17 12:45:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-18 09:05:57 +0100
commitc3fbec3ab955eb2b771a6a54d2910d25a1c7277c (patch)
treebdbf3537617da5761bef9e6dbf829a212e780ec8 /src/qml/jsruntime/qv4engine_p.h
parent09f3cfee8d5e34b5f7058586c52c3fc36d295d93 (diff)
Small optimization to RegExp
Also add markObjects() calls to all the identifiers we keep around in the engine. It's probably pure luck this hasn't caused any issues until now. Change-Id: Ie31d19793efa53867e4e240ba548070dcde32ec1 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index 6bfdf1f5a1..6ad822d3b4 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -234,6 +234,7 @@ public:
Property *argumentsAccessors;
int nArgumentsAccessors;
+ StringValue id_empty;
StringValue id_undefined;
StringValue id_null;
StringValue id_true;